We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83cd214 commit ea02ad5Copy full SHA for ea02ad5
v3io/dataplane/transport/httpclient.py
@@ -75,7 +75,7 @@ def send_request(self, request):
75
try:
76
return self._send_request_on_connection(request, connection)
77
except BaseException as e:
78
- connection.close()
+ request.transport.connection_used.close()
79
connection = self._create_connection(self._host, self._ssl_context)
80
self._free_connections.put(connection, block=True)
81
raise e
0 commit comments