diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-08-31 17:05:52 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-08-31 17:05:52 +0200 |
commit | b04e6e56ab1e69853abebfb950539e3a3aefbdf2 (patch) | |
tree | c1907cda3384aee854dbeb5132bed029ae26e595 /libmproxy/flow.py | |
parent | 41e6e538dfa758b7d9f867f85f62e881ae408684 (diff) | |
download | mitmproxy-b04e6e56ab1e69853abebfb950539e3a3aefbdf2.tar.gz mitmproxy-b04e6e56ab1e69853abebfb950539e3a3aefbdf2.tar.bz2 mitmproxy-b04e6e56ab1e69853abebfb950539e3a3aefbdf2.zip |
update inline script hooks
Diffstat (limited to 'libmproxy/flow.py')
-rw-r--r-- | libmproxy/flow.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 00ec83d2..5eac8da9 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -961,6 +961,10 @@ class FlowMaster(controller.Master): self.run_script_hook("serverconnect", sc) sc.reply() + def handle_serverdisconnect(self, sc): + self.run_script_hook("serverdisconnect", sc) + sc.reply() + def handle_error(self, f): self.state.update_flow(f) self.run_script_hook("error", f) |