aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dup_and_replay.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-04-17 10:19:55 +1200
committerAldo Cortesi <aldo@corte.si>2018-04-17 10:42:40 +1200
commitdf83c0eef7befc9e9910806a12bbcd508023d5e1 (patch)
tree2779063f68318c176d4c4a00f85dc29087c2756a /examples/complex/dup_and_replay.py
parentef4db528871c96a0304a2057d5f1ee8330ca6122 (diff)
downloadmitmproxy-df83c0eef7befc9e9910806a12bbcd508023d5e1.tar.gz
mitmproxy-df83c0eef7befc9e9910806a12bbcd508023d5e1.tar.bz2
mitmproxy-df83c0eef7befc9e9910806a12bbcd508023d5e1.zip
asyncio: fix exit behavior for console
- Add a master.run_loop function. This encapsulates our run behaviour so that it can be used by implementations that need to manage their own run loop (like urwid). - Shift crash exit message to the common core. I'm not convinced we really need this, but if we want it it should be centralised. - Clean up an extra exception that can be thrown by asyncio itself on "dirty" termination after a mitmproxy crash.
Diffstat (limited to 'examples/complex/dup_and_replay.py')
0 files changed, 0 insertions, 0 deletions