aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tls_passthrough.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-15 13:22:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-15 14:52:34 +1200
commit4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a (patch)
tree462636079d7c0d7529242ac5fce71ef799ca9131 /examples/tls_passthrough.py
parentfcc1416ffd82a3497bf17323b4bb467e7e4435f4 (diff)
downloadmitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.gz
mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.bz2
mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.zip
Add .start for addons and scripts
Also improve error messages, fix various unit tests
Diffstat (limited to 'examples/tls_passthrough.py')
-rw-r--r--examples/tls_passthrough.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tls_passthrough.py b/examples/tls_passthrough.py
index 306f55f6..20e8f9be 100644
--- a/examples/tls_passthrough.py
+++ b/examples/tls_passthrough.py
@@ -113,7 +113,7 @@ class TlsFeedback(TlsLayer):
tls_strategy = None
-def configure(options):
+def start():
global tls_strategy
if len(sys.argv) == 2:
tls_strategy = ProbabilisticStrategy(float(sys.argv[1]))