Currently getaddrinfo early-exits, but I'm thinking to keep the query process running in the background until the true timeout is reached. This way, more results will be cached and available for the application to use.
The getaddrinfo will still early-exit on the first result, and the +50ms adjustment will probably be removed.
Currently
getaddrinfo
early-exits, but I'm thinking to keep the query process running in the background until the true timeout is reached. This way, more results will be cached and available for the application to use. Thegetaddrinfo
will still early-exit on the first result, and the+50ms
adjustment will probably be removed.Originally posted by @vshymanskyy in https://github.com/vshymanskyy/aiodns/issues/4#issuecomment-2419207015