Skip to content

set a liberal default handshake timeout#612

Open
covener wants to merge 3 commits intoapache:trunkfrom
covener:reqtimeout-handshake-default
Open

set a liberal default handshake timeout#612
covener wants to merge 3 commits intoapache:trunkfrom
covener:reqtimeout-handshake-default

Conversation

@covener
Copy link
Member

@covener covener commented Mar 17, 2026

No description provided.

Comment on lines -394 to +393
if (cfg->handshake.timeout > 0) {
INIT_STAGE(cfg, ccfg, handshake);
}
INIT_STAGE(cfg, ccfg, handshake);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems wrong in the case that someone explicitly disabled a handshake timeout via configuration by setting it to 0, but has at least another timeout set.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scratch this. I don't see now why the if was needed at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants