Open GoogleCodeExporter opened 9 years ago
I'm not sure, either. I wanted to acknowledge the issue, though, and let you
know that I'm trying to come up with a solution. Any ideas or suggestions are
appreciated.
Original comment by Mitch.Ga...@gmail.com
on 3 Nov 2010 at 4:40
What happens if we simply do this:
def close(self):
self.resp = None
self.mode = None
self.closed = True
self.bucket.connection.connection.close()
This will force the HTTP connection to close but a new connection will be
created automatically when the Bad StatusLine error is received and things will
proceed correctly from then on. I think the underlying HTTP connection has to
be closed if we don't want to read all of the data from the response.
Original comment by Mitch.Ga...@gmail.com
on 3 Nov 2010 at 5:19
Hm, would that require retries to be enabled? (We deliberately don't use
retries; failures are handled further up the stack.)
Original comment by timothy....@gmail.com
on 3 Nov 2010 at 6:57
Original issue reported on code.google.com by
timothy....@gmail.com
on 2 Nov 2010 at 7:01