Merge pull request #169 from cdare/proxy_fixes

Proxy fixes
This commit is contained in:
liris
2015-04-08 09:54:49 +09:00

View File

@@ -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: