mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-06 00:02:08 -04:00
resolvers All kinds of errors happening during the select loop, will be handled as abrupt select loop errors, and terminate all connections; this also includes timmeout errors. This is not ideal, for some reasons: connection timeout errors happening on the loop close all connections, although it may be only triggered for one (or a subset of) connection for which the timeout should trigger; second, errors on the DS channel propagate errors to connections indirectly (the emission mentioned above), wrongly (connections for different hostnames not yet queried, will also fail with timeout), and won't clean the resolver state (so subsequent queries will be done for the same hostname which failed in the first place). This fix is a first step to solving this problem. It does not totally address the first, but i'll fix dealing with errors from the second use-case.