mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Fix typo
This commit is contained in:
parent
2df4fe3056
commit
9a797fe612
@ -282,7 +282,6 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler):
|
|||||||
"upgrading to python >= 2.7.9 or python 3.4",
|
"upgrading to python >= 2.7.9 or python 3.4",
|
||||||
self.hostname)
|
self.hostname)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
return self._remote_server_conn.sock
|
return self._remote_server_conn.sock
|
||||||
|
|
||||||
def _transition_to_ssl(self):
|
def _transition_to_ssl(self):
|
||||||
@ -458,7 +457,7 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler):
|
|||||||
if prox_rec_res:
|
if prox_rec_res:
|
||||||
prox_rec_res.close()
|
prox_rec_res.close()
|
||||||
if connection_is_fine:
|
if connection_is_fine:
|
||||||
self._conn_pool._put_conn(self._remote_conn)
|
self._conn_pool._put_conn(self._remote_server_conn)
|
||||||
else:
|
else:
|
||||||
self._remote_server_conn.sock.close()
|
self._remote_server_conn.sock.close()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user