mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-22 11:06:21 +08:00
Make mitmdump exit after client replay is complete by default.
Add an option --keepserving to make it keep serving after replay.
This commit is contained in:
@@ -88,6 +88,7 @@ class Master:
|
||||
def shutdown(self):
|
||||
if not self._shutdown:
|
||||
self._shutdown = True
|
||||
self.server.shutdown()
|
||||
if self.server:
|
||||
self.server.shutdown()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user