Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix patching of is_connection_dropped from urllib3
With old patching method, urllib3 never detected TCP connections that were closed by the server side. For example, persistent HTTP connection that were closed by the server (e.g., due to timeout) were not recognized as closed. Any following requests that attempted to reuse the same, closed connection caused the following failure: urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response' )) Fixes: kevin1024#468
- Loading branch information