diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-04-17 10:19:55 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-04-17 10:42:40 +1200 |
commit | df83c0eef7befc9e9910806a12bbcd508023d5e1 (patch) | |
tree | 2779063f68318c176d4c4a00f85dc29087c2756a /examples/complex/dup_and_replay.py | |
parent | ef4db528871c96a0304a2057d5f1ee8330ca6122 (diff) | |
download | mitmproxy-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