Merge from vendor branch TNF:
authortaca <taca>
Fri, 12 Aug 2011 17:29:56 +0000 (17:29 +0000)
committertaca <taca>
Fri, 12 Aug 2011 17:29:56 +0000 (17:29 +0000)
commit2dd657db6720edda31f688ed666d6445425a431d
tree8811f1f51a0254489077eb6ea7674ab8bc25a922
parenta95047ad8a11acb3de69ef7be7754ddc2fe9809f
parente79dc410bb4eeefa1a41922c15ab0cc5ed9066ee
Merge from vendor branch TNF:
Imporging www/ruby-net-http-persistent package version 1.8.1.

Manages persistent connections using Net::HTTP plus a speed fix for 1.8.
It's thread-safe too!

Using persistent HTTP connections can dramatically increase the speed of
HTTP.  Creating a new HTTP connection for every request involves an extra
TCP round-trip and causes TCP congestion avoidance negotiation to start
over.

Net::HTTP supports persistent connections with some API methods but does not
handle reconnection gracefully.  net-http-persistent supports reconnection
according to RFC 2616.