mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
It was observed that, during a request done via a DoH resolve, the resolver connection is left in the selector, despite already having resolved the name, until the whole transfer is done. This is inefficient, as we're not expected to use it again. Fixed by improvinng the interest calculation of an HTTP/2 connection; if the connection doesn't have anything to write. and there aren't any inflight streams nor pings, connection won't be listened on.