=== 2.3 / 2011-10-25 * Minor Enhancement * The time since last use for a connection is now recorded in error messages for the connection. === 2.2 / 2011-10-24 * Minor Enhancements * Added timeouts for idle connections which are set through #idle_timeout. The default timeout is 5 seconds. Reducing the idle timeout is preferred over setting #retry_change_requests to true if you wish to avoid the "too many connection resets" error when POSTing data. * Documented tunables and settings in one place in Net::HTTP::Persistent === 2.1 / 2011-09-19 * Minor Enhancement * For HTTPS connections, SSL sessions are now reused avoiding the extra round trips and computations of extra SSL handshakes. If you have problems with SSL session reuse it can be disabled by Net::HTTP::Persistent#reuse_ssl_sessions * Bug Fixes * The default certificate store is now used even if #verify_mode was not set. Issue #7, Pull Request #8 by Matthew M. Boedicker === 2.0 / 2011-08-26 * Incompatibility * Net::HTTP::Persistent#verify_mode now defaults to OpenSSL::SSL::VERIFY_PEER. This may cause HTTPS request failures if your default certificate store lacks the correct certificates. === 1.9 / 2011-08-26 * Minor Enhancement * Added Net::HTTP::Persistent#cert_store to set an SSL certificate store which defaults to the OpenSSL default certificate store. HTTPS server certificates will be validated when this option is combined with setting Net::HTTP::Persistent#verify_mode to OpenSSL::SSL::VERIFY_PEER. === 1.8.1 / 2011-08-08 * Bug Fix * Requests with OpenSSL errors are retried now. Pull Request #5 by James Tucker. === 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. === 1.7 / 2011-04-17 * Minor Enhancement * Added Net::HTTP::Persistent#pipeline which integrates with net-http-pipeline when it is present. * Bug Fix * Perform a case-insensitive check of the URI scheme for HTTPS URIs === 1.6.1 / 2011-03-08 * Bug Fix * Net::HTTP::Persistent#request now handles Errno::EINVAL as a connection reset and will be retried for idempotent requests. Reported by Aaron Qian. === 1.6 / 2011-03-01 * Minor Enhancement * Added Net::HTTP::Persistent#socket_options to set multiple socket options at socket startup. === 1.5.2 / 2011-02-24 * Bug Fix * Only set TCP_NODELAY if the connection has an @socket. Allows net-http-persistent to be used with fake_web. Reported by Sathish Pasupunuri. === 1.5.1 / 2011-02-10 * Bug fix * Only set TCP_NODELAY at connection start. Reported by Brian Henderson. === 1.5 / 2011-01-25 * Minor Enhancements * Set TCP_NODELAY on created socket if possible. (This will only help for requests that send bodies.) === 1.4.1 / 2010-10-13 * Bug Fixes * Don't finish the connection when we're retrying, reset it. Patch by James Tucker. === 1.4 / 2010-09-29 * Minor Enhancements * Added the very dangerous #shutdown_in_all_threads. IT IS DANGEROUS!. Patch by Torsten Schönebaum. === 1.3.1 / 2010-09-13 * Bug Fixes * #connection_for no longer tries to ssl-enable an existing connection. Patch by Joseph West. === 1.3 / 2010-09-08 * Minor Enhancements * HTTP versions are now recorded. This information is not currently used. * Bug Fixes * #shutdown no longer fails when an unstarted HTTP connection is shut down. === 1.2.5 / 2010-07-27 * Bug Fixes * Fix duplicated test name. Noted by Peter Higgins. * #shutdown now works even when no connections were made. === 1.2.4 / 2010-07-26 * Bug Fixes * Actually have #request only finish a connection. Somehow this got missed. === 1.2.3 / 2010-06-29 * Bug Fixes * Fix example code (pointed out by Alex Stahl) === 1.2.2 / 2010-06-22 * Bug Fixes * #request only finishes a connection instead of restarting it. This helps prevents errors on non-idempotent HTTP requests after errors. * #connection_for handles EHOSTDOWN like #reset === 1.2.1 / 2010-05-25 * Bug Fixes * Don't alter Net::BufferedIO#rbuf_fill on 1.9+ === 1.2 / 2010-05-20 * Minor Enhancements * Net::HTTP#read_timeout is now supported * Net::HTTP#open_timeout is now supported * Net::HTTP::Persistent#request now supports a block like Net::HTTP#request === 1.1 / 2010-05-18 * Minor Enhancements * Proxy support, see Net::HTTP::Persistent::new, Net::HTTP::Persistent#proxy_from_env * Added +name+ parameter to Net::HTTP::Persistent::new for separation of connection pools. * Added Net::HTTP::Persistent#shutdown so you can clean up after yourself * Net::HTTP::Persistent now suppresses "peer certificate won't be verified in this SSL session" warning. * Bug Fixes * Net::HTTP::Persistent retries requests in accordance with RFC 2616. === 1.0.1 / 2010-05-05 * Minor Enhancements * Added #debug_output * Now uses Hoe minitest plugin * Bug Fixes * Tests pass on 1.9 === 1.0.0 / 2010-05-04 * Major Enhancements * Birthday!