square/okhttp — pull request #1249 by swankjesse (2014-12-29 02:33:29+00:00)
Title: Respect the max idle connections limit.

The structure here is a bit ugly. But it permits a single 'synchronized'
block, which makes the method easier to reason about.

Closes https://github.com/square/okhttp/issues/1239