summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 89af296..0931446 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -1129,6 +1129,9 @@ class FakeSocket(SharedSocketClient):
def __getattr__(self, attr):
return getattr(self._sock, attr)
+ def close(self):
+ SharedSocketClient.close(self)
+ self._ssl = None
class HTTPSConnection(HTTPConnection):
"This class allows communication via SSL."