@@ -147,8 +147,8 @@ def _tunnel(sock, host, port, auth):
|
|||||||
send(sock, connect_header)
|
send(sock, connect_header)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
status, resp_headers = read_headers()
|
status, resp_headers = read_headers(sock)
|
||||||
except Exepiton as e:
|
except Exception as e:
|
||||||
raise WebSocketProxyException(str(e))
|
raise WebSocketProxyException(str(e))
|
||||||
|
|
||||||
if status != 200:
|
if status != 200:
|
||||||
|
Reference in New Issue
Block a user