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