mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-11-29 19:03:32 +00:00
Update server.py
This commit is contained in:
parent
5596aca173
commit
c60e9d6d13
|
|
@ -298,7 +298,7 @@ def proxy_server(webserver, port, scheme, method, url, conn, addr, data):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise Exception("SSL negotiation failed. (%s:%s) %s" % (webserver.decode(client_encoding), str(port), str(e)))
|
raise Exception("SSL negotiation failed. (%s:%s) %s" % (webserver.decode(client_encoding), str(port), str(e)))
|
||||||
|
|
||||||
# reload data
|
# override data
|
||||||
if is_ssl:
|
if is_ssl:
|
||||||
_, _, _, method, url = parse_first_data(data)
|
_, _, _, method, url = parse_first_data(data)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user