Skip to content

set a liberal default handshake timeout#612

Closed
covener wants to merge 4 commits intoapache:trunkfrom
covener:reqtimeout-handshake-default
Closed

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

Conversation

@covener
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@covener
Copy link
Copy Markdown
Member Author

covener commented Apr 21, 2026

Closing, probably better to only update the default configuration and not apply to other protocols.

@covener covener closed this Apr 21, 2026
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