diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-08-13 13:51:38 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-08-13 13:51:38 +1200 |
commit | 25f12b0e5debc7b052e0a5d002a88b045d8f6f6a (patch) | |
tree | 2c5274591d4ae2473fc2b994582b7b579ca7803c /libmproxy | |
parent | 4d02ae0582dead00ad24a644ba712c79f56d04fd (diff) | |
download | mitmproxy-25f12b0e5debc7b052e0a5d002a88b045d8f6f6a.tar.gz mitmproxy-25f12b0e5debc7b052e0a5d002a88b045d8f6f6a.tar.bz2 mitmproxy-25f12b0e5debc7b052e0a5d002a88b045d8f6f6a.zip |
Add a basic Flow processor example.
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/dump.py | 1 | ||||
-rw-r--r-- | libmproxy/proxy.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 21ea038e..d1bdfb3f 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -187,7 +187,6 @@ class DumpMaster(flow.FlowMaster): def handle_error(self, msg): f = flow.FlowMaster.handle_error(self, msg) if f: - msg._ack() self._process_flow(f) return f diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 0ef5e225..54becb39 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -22,7 +22,7 @@ class ProxyError(Exception): class SSLConfig: - def __init__(self, certfile = None, ciphers = None, cacert = None, cert_wait_time=None): + def __init__(self, certfile = None, ciphers = None, cacert = None, cert_wait_time=0): self.certfile = certfile self.ciphers = ciphers self.cacert = cacert |