-
-
Notifications
You must be signed in to change notification settings - Fork 7k
ip happy eyeballing: keep attempts running #18105
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
Conversation
a019e47 to
49db114
Compare
|
I love it! |
When `CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS` expires, start the next ip connect attempt, but keep all ongoing attempts alive. Separate happy-eyeballs connection filter into own source files.
e4b2831 to
95e09ee
Compare
|
Hmm. I am experiencing some difficulties in Microsoft Git with this change, and reverting this PR "fixes" it. The problem is that Is this by design? I could understand if the six attempts would now cause 200ms * 5 = one second of extra delay, but not an extra delay that had not been there before of more than 20 minutes. FWIW when I tried to debug this, I saw that the 300 seconds come from the This amount is then dutifully added to the splay list, from where Is this a bug, or do I now have to call cURL's API in a different way to get back the previous behavior? |
|
Could you open a new issue for this? I think I understand to what you are referring to, but since this PR is closed, any fix of this would work better with a separate issue. |
When
CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MSexpires, start the next ip connect attempt, but keep all ongoing attempts alive.Separate happy-eyeballs connection filter into own source files.