boto/boto — pull request #787 by tpodowd (2012-05-28 01:20:58+00:00)
Title: Fix connection leak with bucket.get_key() on certain failures.

- Boto internally keeps a pool of connections for re-use. Connections
where the body has not been read yet are deemed not ready and stay
in the pool. HEAD Object failures such as 403 were not reading
their body so were never ready and stay in the pool.

This shouldn't effect the unit tests, but here is a run.

./test.py -t s3
--- running S3Connection tests ---
--- tests completed ---
.................--- running S3Encryption tests ---
--- tests completed ---
.............
----------------------------------------------------------------------
Ran 30 tests in 192.358s

OK