[issue8293] HTTPSConnection.close() does not immediately close the connection.

Tiago Teresa Teodosio report at bugs.python.org
Thu Oct 14 21:26:11 CEST 2010


Tiago Teresa Teodosio <ttt at ist.utl.pt> added the comment:

I can make the connection really get closed by running the garbage collector. It seems that the SSL socket has some kind of lazy close.

import gc
gc.collect()

----------
nosy: +TTT

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8293>
_______________________________________


More information about the Python-bugs-list mailing list