SSL/Connection.py: Connection is not closed in destructor
I did most analysis work in: https://bugzilla.opensuse.org/show_bug.cgi?id=1068470
If not closing the connection properly, then RSTs are visible in the tcpdump and it is possible that getting the next file via https is hanging in libcrypto waiting for the server hello while the server didn't receive the client hello.
Fix:
--- SSL/Connection.py.orig 2018-02-22 15:17:42.398599411 +0100
+++ SSL/Connection.py 2018-02-22 15:18:06.326599234 +0100
@@ -73,6 +73,7 @@
def __del__(self):
# type: () -> None
+ self.close()
if getattr(self, 'sslbio', None):
self.m2_bio_free(self.sslbio)
if getattr(self, 'sockbio', None):