diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-09 18:49:32 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-09 18:49:32 +0200 |
commit | 61f4319491ccc9a6c2dff84eaebe628014987148 (patch) | |
tree | de5d0858094c45e53ed9d6d64cc3df327d03aee8 /libmproxy/protocol/http.py | |
parent | e63ef3a520075407f1a9d0584fb228d318834244 (diff) | |
download | mitmproxy-61f4319491ccc9a6c2dff84eaebe628014987148.tar.gz mitmproxy-61f4319491ccc9a6c2dff84eaebe628014987148.tar.bz2 mitmproxy-61f4319491ccc9a6c2dff84eaebe628014987148.zip |
http protocol: use new tls attribute
Diffstat (limited to 'libmproxy/protocol/http.py')
-rw-r--r-- | libmproxy/protocol/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index 93972111..dbe91e3c 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -511,7 +511,7 @@ class HttpLayer(Layer): if self.mode == "regular" or self.mode == "transparent": # If there's an existing connection that doesn't match our expectations, kill it. - if address != self.server_conn.address or tls != self.server_conn.ssl_established: + if address != self.server_conn.address or tls != self.server_conn.tls_established: self.set_server(address, tls, address.host) # Establish connection is neccessary. if not self.server_conn: |