Net-http-persistent 1.8 Released

net-http-persistent version 1.8 has been released!

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.

Changes:

1.8 / 2011-06-27

  • Minor Enhancement
    • Added Net::HTTP::Persistent#retry_change_requests which allows POST
      and
      other non-idempotent requests to be retried automatically. Take
      care when
      enabling this option to ensure the server will handle multiple POSTs
      with
      the same data in a sane manner.