AsyncHttpClient/async-http-client — pull request #419 by taer (2013-11-11 21:58:21+00:00)
Title: Reuse the socket on a 401

On a 401, the client was opening a new socket, regardless of the keeplive status. The client was sending keepAlive and the remote server was honoring it.

This patch sets reuseChannel if the keepalive was honored by the remote server.