shazow/urllib3 — pull request #87 by slingamn (2012-07-18 03:37:08+00:00)
Title: Refactor to support eager release of pooled connections

This is a rewrite of the eager release patch from kennethreitz/requests#616 against the current urllib3 master.

The "XXX: this isn't eager enough" issue has been corrected. However, I didn't move the disposal feature to a subclass of `RecentlyUsedContainer`, instead I ended up rewriting the original class against `OrderedDict` and adding the 2.6 backport of it to packages :-\

I got the unit tests here passing, then installed this branch in the current Requests development master and ran the tests there, but this probably needs more testing. I'm not entirely sure about the best way to do that, though.

Tell me what you think of the design? Thanks for your help.