diff --git a/mitmproxy/flow.py b/mitmproxy/flow.py index 7ad715164..bcc555598 100644 --- a/mitmproxy/flow.py +++ b/mitmproxy/flow.py @@ -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):