mitmproxy/mitmproxy
Maximilian Hils 1b09002edc remove OptManager._processed
Instead of having the core addon do postprocessing on body_size_limit,
we add a cache to the parsing function. First, this avoids any potential issues
with options and _processed getting out of sync. As anecdotal evidence,
the previous implementation did not clear _processed when body_size_limit was
reset to None. Second, it achieves the same end result without introducing a new
concept of a "_processed" scratch space. Third, it works even if addons aren't present,
and does not require workarounds as previously present in test_http2.py.

refs https://github.com/mitmproxy/mitmproxy/pull/2484#pullrequestreview-53101507
2017-07-31 01:58:31 +02:00
..
addons remove OptManager._processed 2017-07-31 01:58:31 +02:00
contentviews Kaitai parser for protobuf 2017-07-10 01:24:43 +05:30
contrib Kaitai parser for protobuf 2017-07-10 01:24:43 +05:30
io Changes in setup.cfg 2017-05-12 21:09:50 +05:30
net nuke old openssl 2017-07-25 10:56:24 +02:00
platform console: extract "enter" to m_select 2017-06-11 21:55:31 +12:00
proxy remove OptManager._processed 2017-07-31 01:58:31 +02:00
script addons: start -> load throughout 2017-03-25 10:48:12 +13:00
test disentangle ProxyServer and Master classes. 2017-07-30 01:25:36 +02:00
tools minor fixes 2017-07-30 23:50:34 +02:00
types commands: view.load 2017-04-30 22:02:29 +12:00
utils remove OptManager._processed 2017-07-31 01:58:31 +02:00
__init__.py fix version sourcing in setup.py 2016-12-11 17:50:46 +01:00
addonmanager.py fix addon tracebacks 2017-07-21 11:25:17 +02:00
certs.py Remove private key from PKCS12 file 2017-06-12 01:44:26 -07:00
command.py console: console.key.bind console.key.unbind commands 2017-06-14 08:34:34 +12:00
connections.py stateobject: automatically change id when copying 2017-03-14 17:08:40 +01:00
controller.py Rip out master handler mechanism 2017-03-16 18:33:24 +13:00
ctx.py Move options into ctx 2017-04-26 10:25:56 +12:00
eventsequence.py update mypy 2017-07-20 16:27:13 +02:00
exceptions.py command: save.file flowspec path -> None 2017-04-27 17:05:00 +12:00
flow.py Rip out master handler mechanism 2017-03-16 18:33:24 +13:00
flowfilter.py fail-safe flowfilter 2017-05-26 17:58:38 +02:00
http.py Make mypy succeed with imports on master.py 2017-03-17 08:13:47 +13:00
log.py minor improvements 2017-06-02 00:01:37 +02:00
master.py disentangle ProxyServer and Master classes. 2017-07-30 01:25:36 +02:00
options.py move web options into their own addon 2017-07-29 21:50:45 +02:00
optmanager.py remove OptManager._processed 2017-07-31 01:58:31 +02:00
stateobject.py Make mypy succeed with imports on master.py 2017-03-17 08:13:47 +13:00
tcp.py Make mypy succeed with imports on master.py 2017-03-17 08:13:47 +13:00
version.py Replace phrase 'the the' in 2 places 2017-04-02 21:37:38 +05:30
websocket.py websocket streaming 2017-07-04 10:52:50 +02:00