mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Un-break request replay.
This commit is contained in:
parent
f009770d4c
commit
3f0b84bb49
@ -22,6 +22,7 @@ class ReplayThread(threading.Thread):
|
|||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
server = proxy.ServerConnection(self.flow.request)
|
server = proxy.ServerConnection(self.flow.request)
|
||||||
|
server.send_request(self.flow.request)
|
||||||
response = server.read_response()
|
response = server.read_response()
|
||||||
response.send(self.masterq)
|
response.send(self.masterq)
|
||||||
except proxy.ProxyError, v:
|
except proxy.ProxyError, v:
|
||||||
|
Loading…
Reference in New Issue
Block a user