Export to GitHub

httplib2 - issue #248

Connection is not closed when getresponse exceeds retries


Posted on Feb 22, 2013 by Happy Cat

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.

Comment #1

Posted on Feb 25, 2013 by Happy Cat

This should be fixed with commit https://code.google.com/p/httplib2/source/detail?r=fae31589d6cc7d5ea4184bd515dd818900ec7f5a

Comment #2

Posted on Mar 7, 2013 by Massive Hippo

(No comment was entered for this change.)

Status: Closed

Labels:
Type-Defect Priority-Medium