Files
python-glanceclient/glanceclient
David Peraza 5d90740f33 HTTPS response issues
Fixes bug 1179392

glanceclient.common.http.HTTPClient.get_connection_kwargs method
explicitly sets the timeout to be a float, while struc.pack is
still using LL as the format string which means 2 Long Integers.
Setting format string to fL which mean a float followed by Long
Integer.

Also, Bad file descriptor error is caused by socket being closed
to soon. Added a close() implementation to VerifiedHTTPSConnection
which will remove reference to socket before returning call to
base HTTPConnection.close(). This will avoid socket to be closed
before response body is read. Socket will close when response
close is called.

Change-Id: I3a973da3b962c7572ae0f61f6996bdd1f0048339
2013-07-22 15:33:38 +00:00
..
2013-07-22 15:33:38 +00:00
2013-07-16 11:46:47 -04:00
2013-05-18 09:02:07 -07:00
2012-06-04 08:49:26 -07:00
2013-06-22 16:00:26 +02:00
2013-06-22 16:00:26 +02:00