[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Changes by Tanakorn Leesatapornwongsa : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue10993> ___ ___ Pyth

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Tanakorn Leesatapornwongsa added the comment: I have tested it on python 2.7.1 already. It quite works. Thank you. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Tanakorn Leesatapornwongsa added the comment: I ran this attached file on my FreeBSD. After it printed "loop finished", I ran command `sockstat | grep python` and it showed korn python 58627 3 tcp4 10.0.2.15:28858 64.233.183.99:443 korn python 586

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
New submission from Tanakorn Leesatapornwongsa : With this code on python 2.6, I found that HTTPSConnection does not close connection properly. from httplib import HTTPSConnection for i in range(1000): https = HTTPSConnection("google.com") https.connect() https.re