You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
Ran into an issue while testing/benchmarking several hundreds of HTTP/1.1 HEAD requests, which would always result in a ConnectionResetError after the exact same number of requests.
Ran into an issue while testing/benchmarking several hundreds of HTTP/1.1
HEADrequests, which would always result in aConnectionResetErrorafter the exact same number of requests.Investigating the issue shows that it always occurs when the
BufferedSockets_remaining_capacityis getting close to 0. More specifically, it happens whenever there are still a fewbytes_in_bufferwhenfillis called on the almost "exhausted" buffer, as it will be the case here:https://github.com/Lukasa/hyper/blob/18b629b8487169870235fe13387e2ae03c178b9f/hyper/http11/connection.py#L284-L288