diff --git a/requests/adapters.py b/requests/adapters.py index 02e0dd1f..edc1af68 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -407,9 +407,6 @@ class HTTPAdapter(BaseAdapter): # Then, reraise so that we can handle the actual exception. low_conn.close() raise - else: - # All is well, return the connection to the pool. - conn._put_conn(low_conn) except (ProtocolError, socket.error) as err: raise ConnectionError(err, request=request)