jirumiro / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Connection is not closed when getresponse exceeds retries #248

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have a server return an invalid response that will trigger an exception 
(BadStatusLine, for example)
2. The connection will not be closed until it goes out of scope

What is the expected output? What do you see instead?
The connection should be closed before the exception is re-raised

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by schrierc on 22 Feb 2013 at 8:16

GoogleCodeExporter commented 8 years ago
This should be fixed with commit 
https://code.google.com/p/httplib2/source/detail?r=fae31589d6cc7d5ea4184bd515dd8
18900ec7f5a

Original comment by schrierc on 25 Feb 2013 at 11:39

GoogleCodeExporter commented 8 years ago

Original comment by joe.gregorio@gmail.com on 7 Mar 2013 at 2:47