forked from p15670423/monkey
Remove unused `proxy_via` in `infection_monkey/transport/http.py`
This commit is contained in:
parent
3a346b5112
commit
962e785134
|
@ -115,9 +115,6 @@ class FileServHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
|
||||||
|
|
||||||
class HTTPConnectProxyHandler(http.server.BaseHTTPRequestHandler):
|
class HTTPConnectProxyHandler(http.server.BaseHTTPRequestHandler):
|
||||||
timeout = 30 # timeout with clients, set to None not to make persistent connection
|
timeout = 30 # timeout with clients, set to None not to make persistent connection
|
||||||
proxy_via = (
|
|
||||||
None # pseudonym of the proxy in Via header, set to None not to modify original Via header
|
|
||||||
)
|
|
||||||
|
|
||||||
def do_POST(self):
|
def do_POST(self):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue