net-http-persistent version 2.4.1 has been released!
Manages persistent connections using Net::HTTP plus a speed fix for Ruby
It’s thread-safe too!
Using persistent HTTP connections can dramatically increase the speed of
Creating a new HTTP connection for every request involves an extra TCP
round-trip and causes TCP congestion avoidance negotiation to start
Net::HTTP supports persistent connections with some API methods but does
handle reconnection gracefully. Net::HTTP::Persistent supports
and retry according to RFC 2616.
=== 2.4.1 / 2012-02-03
- Bug fixes
- When FakeWeb or WebMock are loaded SSL sessions will not be reused to
prevent breakage of testing frameworks. Issue #13 by Matt Brictson,
request #14 by Zachary S.
- SSL connections are reset when the SSL parameters change.
Mechanize issue #194 by dsisnero
- Last-use times are now cleaned up in #shutdown.