aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol/handle.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-08-08 02:45:24 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-08-08 02:45:24 +0200
commita9e6121a08c745961992c9fd2b4e4593063192f5 (patch)
tree87ab6b3348f0030249555e16b2ac190b674f17ee /libmproxy/protocol/handle.py
parentc01b294d8d7c070547b9eb981b6001581b33c7b4 (diff)
downloadmitmproxy-a9e6121a08c745961992c9fd2b4e4593063192f5.tar.gz
mitmproxy-a9e6121a08c745961992c9fd2b4e4593063192f5.tar.bz2
mitmproxy-a9e6121a08c745961992c9fd2b4e4593063192f5.zip
properly express state information on server connections, refs #315
Diffstat (limited to 'libmproxy/protocol/handle.py')
-rw-r--r--libmproxy/protocol/handle.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmproxy/protocol/handle.py b/libmproxy/protocol/handle.py
index 42917ba1..a238b349 100644
--- a/libmproxy/protocol/handle.py
+++ b/libmproxy/protocol/handle.py
@@ -19,4 +19,8 @@ def handle_messages(conntype, connection_handler):
def handle_error(conntype, connection_handler, error):
- return _handler(conntype, connection_handler).handle_error(error) \ No newline at end of file
+ return _handler(conntype, connection_handler).handle_error(error)
+
+
+def handle_server_reconnect(conntype, connection_handler, state):
+ return _handler(conntype, connection_handler).handle_server_reconnect(state) \ No newline at end of file