aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol/primitives.py
diff options
context:
space:
mode:
authorJake Drahos <drahos@iastate.edu>2015-06-11 20:27:33 -0500
committerJake Drahos <drahos@iastate.edu>2015-06-11 20:27:33 -0500
commit2a6698bf5a2ebe576ae0bbcacdee69d6eed10be9 (patch)
treedb1711fa6758b4f67cb7858bcd3b769dd08e9fe3 /libmproxy/protocol/primitives.py
parentf2d7a6aa57a622ebc0d025391046d81f289b8cb3 (diff)
downloadmitmproxy-2a6698bf5a2ebe576ae0bbcacdee69d6eed10be9.tar.gz
mitmproxy-2a6698bf5a2ebe576ae0bbcacdee69d6eed10be9.tar.bz2
mitmproxy-2a6698bf5a2ebe576ae0bbcacdee69d6eed10be9.zip
Moved marking from flow to console
No longer taints the flow primitive
Diffstat (limited to 'libmproxy/protocol/primitives.py')
-rw-r--r--libmproxy/protocol/primitives.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/libmproxy/protocol/primitives.py b/libmproxy/protocol/primitives.py
index 1d2389c3..2f8ea3e0 100644
--- a/libmproxy/protocol/primitives.py
+++ b/libmproxy/protocol/primitives.py
@@ -77,7 +77,6 @@ class Flow(stateobject.StateObject):
"""@type: bool"""
self._backup = None
self.reply = None
- self.marked = False
_stateobject_attributes = dict(
id=str,
@@ -166,12 +165,6 @@ class Flow(stateobject.StateObject):
self.intercepted = False
self.reply()
master.handle_accept_intercept(self)
-
- def toggle_mark(self):
- if self.marked:
- self.marked = False
- else:
- self.marked = True
class ProtocolHandler(object):