mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +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):
|
def copy(self):
|
||||||
f = super().copy()
|
f = super().copy()
|
||||||
f.live = False
|
f.live = False
|
||||||
|
if self.reply is not None:
|
||||||
|
f.reply = controller.DummyReply()
|
||||||
return f
|
return f
|
||||||
|
|
||||||
def modified(self):
|
def modified(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user