This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: net-http-persistent 2.4.1
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Manages persistent connections using Net::HTTP plus a speed fix for Ruby
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 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, pull
request #14 by Zachary Scott
SSL connections are reset when the SSL parameters change. Mechanize issue
#194 by dsisnero