thread resolver: track resolver time and set suitable timeout values #2419

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@bagder
Member

bagder commented Mar 22, 2018

In order to make curl_multi_timeout() return suitable "sleep" times even
when there's no socket to wait for while the name is being resolved in a
helper thread.

It will slowly increase the timeouts as time passes.

Related to #2415 but improves curl_multi_timeout() too.

thread resolver: track resolver time and set suitable timeout values
In order to make curl_multi_timeout() return suitable "sleep" times even
when there's no socket to wait for while the name is being resolved in a
helper thread.

It will slowly increase the timeouts as time passes.

@bagder bagder closed this in 6763622 Mar 23, 2018

@bagder bagder deleted the bagder/threaded-resolver-timeout branch Mar 23, 2018

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