Skip to content

async-ares: blocking resolve timeout handling, better - #20819

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:ares-blocking-timeout-better
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:ares-blocking-timeout-better

Conversation

@icing

@icing icing commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Perform the actual timeout calculation in the blocking resolv loop each time in the same way, keeping the logic simpler.

The previous version calculated the timeout once, and then reduced it by the elapsed time spent in polling/processing. This is unnecessarily complicated.

Perform the actual timeout calculation in the blocking resolv
loop each time in the same way, keeping the logic simpler.

The previous version calculated the timeout once, and then
reduced it by the elapsed time spent in polling/processing.
This is unnecessarily complicated.
@github-actions github-actions Bot added the name lookup DNS and related tech label Mar 5, 2026
@icing
icing requested a review from bagder March 5, 2026 11:01
@bagder bagder closed this in b803dc9 Mar 6, 2026
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Perform the actual timeout calculation in the blocking resolv
loop each time in the same way, keeping the logic simpler.

The previous version calculated the timeout once, and then
reduced it by the elapsed time spent in polling/processing.
This is unnecessarily complicated.

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

Labels

name lookup DNS and related tech

Development

Successfully merging this pull request may close these issues.

2 participants