diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-12-08 13:15:08 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-12-08 13:15:08 +1300 |
commit | d05c20d8fab3345e19c06ac0de00a2c8f30c44ef (patch) | |
tree | 3b8b93f1e3cca25473ab75d1e834752f5fe3afe7 /netlib/tcp.py | |
parent | 75745cb0af9a9b13d075355524947e70209d484b (diff) | |
download | mitmproxy-d05c20d8fab3345e19c06ac0de00a2c8f30c44ef.tar.gz mitmproxy-d05c20d8fab3345e19c06ac0de00a2c8f30c44ef.tar.bz2 mitmproxy-d05c20d8fab3345e19c06ac0de00a2c8f30c44ef.zip |
Domain checks for persistent cert store is now irrelevant.
We no longer store these on disk, so we don't care about path
components.
Diffstat (limited to 'netlib/tcp.py')
-rw-r--r-- | netlib/tcp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py index 8fe04d2e..b3be43d6 100644 --- a/netlib/tcp.py +++ b/netlib/tcp.py @@ -346,8 +346,9 @@ class BaseHandler: self.connection.sock_shutdown(socket.SHUT_WR) else: self.connection.shutdown(socket.SHUT_WR) - #Section 4.2.2.13 of RFC 1122 tells us that a close() with any pending readable data could lead to an immediate RST being sent. - #http://ia600609.us.archive.org/22/items/TheUltimateSo_lingerPageOrWhyIsMyTcpNotReliable/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable.html + # Section 4.2.2.13 of RFC 1122 tells us that a close() with any + # pending readable data could lead to an immediate RST being sent. + # http://ia600609.us.archive.org/22/items/TheUltimateSo_lingerPageOrWhyIsMyTcpNotReliable/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable.html while self.connection.recv(4096): pass except (socket.error, SSL.Error): |