aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tls_passthrough.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-06-08 14:09:59 +1200
committerAldo Cortesi <aldo@corte.si>2016-06-08 14:09:59 +1200
commite93fe9d4fa37ec1aae60eee612be7a9cd989891c (patch)
treeb6d29eb42c7989e5b44fb9221a358fecfe672ad4 /examples/tls_passthrough.py
parentdb11fe0087776c2bf5d95f5aeb751c6c35d67f4b (diff)
parenta5cb241c7cb1035b4d9ff43fb1c8958b7b3dac1d (diff)
downloadmitmproxy-e93fe9d4fa37ec1aae60eee612be7a9cd989891c.tar.gz
mitmproxy-e93fe9d4fa37ec1aae60eee612be7a9cd989891c.tar.bz2
mitmproxy-e93fe9d4fa37ec1aae60eee612be7a9cd989891c.zip
Merge pull request #1228 from cortesi/controller2
Controller refactoring
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 23afe3ff..0c6d450d 100644
--- a/examples/tls_passthrough.py
+++ b/examples/tls_passthrough.py
@@ -134,5 +134,5 @@ def next_layer(context, next_layer):
# We don't intercept - reply with a pass-through layer and add a "skipped" entry.
context.log("TLS passthrough for %s" % repr(next_layer.server_conn.address), "info")
next_layer_replacement = RawTCPLayer(next_layer.ctx, logging=False)
- next_layer.reply(next_layer_replacement)
+ next_layer.reply.send(next_layer_replacement)
context.tls_strategy.record_skipped(server_address)