-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error due to change in ngtcp2 variables #10469
Conversation
The reason being: "current value (10 seconds) is arbitrary choice and no good reason behind it" But, This will silence the compiler error, but it doesn't seem like a useful timeout value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--handshake-timeout=
Set the QUIC handshake timeout.
Default: 10s
Building curl with ngtcp2 |
I think 10 needs to be multiplied by #define NGTCP2_SECONDS ((ngtcp2_duration)1000000000ULL) This restores the existing arbitrary value. Is there an existing curl timeout that we could re-use here? Like |
This will become a problem on the next ngtcp2 release either way, so definitely needs to be addressed, ideally before the curl release next week. |
sorry,i am not sure of this |
@tatsuhiro-t any advice? |
I propose we provide our own version of the removed define for now. I'm not sure if 10 seconds should be fixed like this, but we can work on that later:
|
|
It works. If curl has "connect()" timeout, then it can be used here. |
Ah, so how long idleness trigger a termination? |
They were removed upstream. Reported-by: Karthikdasari0423 on github Fixes #10469
While pondering if we should perhaps allow for more than 10 seconds and rather use the idle timeout, I propose #10474 which just restores the 10 second handshake timeout but also fixes another necessary change prompted by upstream changes. |
They were removed upstream. Reported-by: Karthikdasari0423 on github Fixes curl#10469 Closes curl#10474
raised PR cause while build curl with ngtcp2 below error is noticed
#10468
hers is the PR to ngtcp2 which is causing issue
ngtcp2/ngtcp2#665