mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
Merge pull request #2098 from iharsh234/bug-2086-2
Fix crash when duplicating flow
This commit is contained in:
commit
eba6d4359c
@ -113,6 +113,8 @@ class Flow(stateobject.StateObject):
|
||||
def copy(self):
|
||||
f = super().copy()
|
||||
f.live = False
|
||||
if self.reply is not None:
|
||||
f.reply = controller.DummyReply()
|
||||
return f
|
||||
|
||||
def modified(self):
|
||||
|
Loading…
Reference in New Issue
Block a user