mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix #402
This commit is contained in:
parent
476d7da17c
commit
cece3700df
@ -192,6 +192,7 @@ class ClientPlaybackState:
|
||||
"""
|
||||
if self.flows and not self.current:
|
||||
n = self.flows.pop(0)
|
||||
n.response = None
|
||||
n.reply = controller.DummyReply()
|
||||
self.current = master.handle_request(n)
|
||||
if not testing and not self.current.response:
|
||||
@ -615,7 +616,7 @@ class FlowMaster(controller.Master):
|
||||
]
|
||||
if all(e):
|
||||
self.shutdown()
|
||||
self.client_playback.tick(self, timeout)
|
||||
self.client_playback.tick(self)
|
||||
|
||||
return controller.Master.tick(self, q, timeout)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user