mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Reset exit flag when proxy starts.
This commit is contained in:
@@ -80,6 +80,8 @@ class Master:
|
||||
return changed
|
||||
|
||||
def run(self):
|
||||
global should_exit
|
||||
should_exit = False
|
||||
if self.server:
|
||||
slave = Slave(self.masterq, self.server)
|
||||
slave.start()
|
||||
|
||||
Reference in New Issue
Block a user