aboutsummaryrefslogtreecommitdiffstats
path: root/examples/addons/commands-simple.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-04-28 10:59:12 +1200
committerAldo Cortesi <aldo@nullcube.com>2018-04-30 17:17:03 +1200
commit236a2fb6fde4ff8837f85cf0a217f915b0bfed79 (patch)
tree7342213c11fbfb93701976457d78a84cf2e6dd89 /examples/addons/commands-simple.py
parent28d53d5a245cbac19896bac30a41435024b17b78 (diff)
downloadmitmproxy-236a2fb6fde4ff8837f85cf0a217f915b0bfed79.tar.gz
mitmproxy-236a2fb6fde4ff8837f85cf0a217f915b0bfed79.tar.bz2
mitmproxy-236a2fb6fde4ff8837f85cf0a217f915b0bfed79.zip
client replay: re-design
Re-design the way client replay works. Before, we would fire up a thread, replay, wait for the thread to complete, get the next flow, and repeat the procedure. Now, we have one replay thread that starts when the addon starts, which pops flows off a thread-safe queue. This is much cleaner, removes the need for busy tick, and sets the scene for optimisations like server connection reuse down the track.
Diffstat (limited to 'examples/addons/commands-simple.py')
0 files changed, 0 insertions, 0 deletions