Skip to content

curl_ngtcp2 handshake timeout should be equal to --connect-timeout#18431

Closed
XCas13 wants to merge 1 commit intocurl:masterfrom
XCas13:master
Closed

curl_ngtcp2 handshake timeout should be equal to --connect-timeout#18431
XCas13 wants to merge 1 commit intocurl:masterfrom
XCas13:master

Conversation

@XCas13
Copy link
Contributor

@XCas13 XCas13 commented Aug 29, 2025

Default handshake timeout is hardcoded (10 seconds) and doesn't respect --connect-timeout parameter. In some cases 10 seconds can be not enough or too long to "establish a connection". Moreover the non-working --connect-timeout parameter for http3 is confusing. This change makes the handshake timeout equal to --connect-timeout, if it's set. Discussion thread is here #18427

Default timeout is hardcoded (10 seconds) and doesn't respect --connect-timeout parameter. In some cases 10 seconds can be not enough or too long to "establish a connection". Moreover the non-working --connect-timeout parameter for http3 is confusing. This change makes the handshake timeout equal to --connect-timeout, if it's set.
Discussion is here curl#18427
@github-actions github-actions bot added the HTTP/3 h3 or quic related label Aug 29, 2025
@bagder bagder closed this in 21c2889 Aug 29, 2025
@bagder
Copy link
Member

bagder commented Aug 29, 2025

Thanks!

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

Labels

HTTP/3 h3 or quic related

Development

Successfully merging this pull request may close these issues.

3 participants