diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-11-01 00:04:05 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-11-08 17:55:22 +0100 |
commit | c2a130dcedcb69c35d8bb7432fa65e6542e6de19 (patch) | |
tree | aabc78e440ff7f213b561e7649916788562e354a /mitmproxy/tools/web/master.py | |
parent | 85476d9915f23fc45e64b5242e804623f50cd20a (diff) | |
download | mitmproxy-c2a130dcedcb69c35d8bb7432fa65e6542e6de19.tar.gz mitmproxy-c2a130dcedcb69c35d8bb7432fa65e6542e6de19.tar.bz2 mitmproxy-c2a130dcedcb69c35d8bb7432fa65e6542e6de19.zip |
web: simplify flow storage
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r-- | mitmproxy/tools/web/master.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 605cdf18..e35815ad 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -21,7 +21,8 @@ class Stop(Exception): class _WebState(): def add_log(self, e, level): - self._last_event_id += 1 + # server-side log ids are odd + self._last_event_id += 2 entry = { "id": self._last_event_id, "message": e, |