socket absent from read_headers call in proxy_info class

This commit is contained in:
chrisdare04
2015-04-07 15:51:03 +01:00
parent 6fd3670be3
commit 74fca91e78

View File

@@ -147,7 +147,7 @@ def _tunnel(sock, host, port, auth):
send(sock, connect_header)
try:
status, resp_headers = read_headers()
status, resp_headers = read_headers(sock)
except Exception as e:
raise WebSocketProxyException(str(e))