sonatype/async-http-client — pull request #142 by taer (2012-10-02 14:07:34+00:00)
Title: HTTP 1.1 keepalive is only determined by presence of Connection: close.

The RFC for HTTP 1.1 only states that keepalive should be terminated on presence of Connection:close. The default behavior in 1.1 is to keep the connection open, so the presence of a Connection: keep-alive is optional. I believe the keep-alive status was for 1.0 persistent connection negotiation.

This patch doesn't look at the HTTP version. The existing code would have had issues with 1.0 as well, so I'm assuming we can safely ignore that.

The grizly provider seems to have the proper logic in it already.