[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 ___ ___ Python-bugs-list ma

[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 ___ ___

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

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Rather than labelling it a platform-specific issue, I'd like the OP to test with the latest bugfix releases (2.6.6 and 2.7.1). Some things have definitely been fixed recently. -- ___ Python tracker

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

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, we are facing a platform specific bug here. I had tried similar program earlier and I tried your attached snippet with python 2.6.6 and release27-maint branch and I dont see the zombie sockets on Ubuntu 10.10. -- _

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

2011-01-24 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you try with either 2.6.6 or 2.7.1? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-lis

[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 58627 4 tcp4 10.0.2.1

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

2011-01-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : Removed file: http://bugs.python.org/file20502/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Can you provide a test case which actually illustrates that zombie socket connections present after the HTTPS Connection and Close? I see the logic in your patch. But I don't see no left over unclosed connections upon ssl.close either. -- nosy: +orsent

[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.request("GET", "/") resp