./www/ruby-net-http-persistent, Manages persistent connections using Net::HTTP

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.0, Package name: ruby22-net-http-persistent-3.0.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby22-base]

Master sites:

SHA1: 239d6a0be13c68b171301b146d0c8e0390e28903
RMD160: 3cff27cc0d25cc7d7525629e9bbb7348cdbc6157
Filesize: 29.5 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-18 18:34:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-net-http-persistent to 3.0.0.

=== 3.0

Breaking changes:

* No longer supports ruby 2.0 and earlier
* Net::HTTP::Persistent::new now uses keyword arguments for +name+ and
  +proxy+.
* Removed #max_age, use #expired?

New features:

* Uses connection_pool to manage all connections for a Net::HTTP::Persistent
  instance.

Bug fixes:

* Add missing SSL options ca_path, ciphers, ssl_timeout, verify_depth.
  Issue #63 by Johnneylee Jack Rollins.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-27 01:45:22 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
   2014-03-14 20:08:15 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-http-persistent to 2.9.4.

=== 2.9.4 / 2014-02-10

* Bug fixes
  * Improve proxy escaping from 2.9.2.  Pull request #59 by Mislav Marohnić.

=== 2.9.3 / 2014-02-06

* Bug fixes
  * Fix breakage in 2.9.2 for users without proxies.  Pull request #56 by
    Yoshihiro TAKAHARA (merged), #57 by ChuckLin, #58 by Kenny Meyer.

=== 2.9.2 / 2014-02-05

* Bug fixes
  * Special characters in proxy passwords are now handled correctly.  Issue
    #48 by Mislav Marohnić.  Pull request #54 by Juha Kajava

=== 2.9.1 / 2014-01-22

* Bug fixes
  * Added license to gemspec.  Issue #47 by Benjamin Fleischer
  * Set Net::HTTP#keep_alive_timeout when supported by ruby.  Pull request #53
    by Dylan Thacker-Smith.
  * The backtrace is preserved for errors in #reset to help with debugging.
    Issue #41 by Andrew Cholakian.
   2013-09-15 19:37:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-http-persistent to 2.9.

=== 2.9 / 2013-07-24

* Minor enhancement
  * Added max_requests to avoid ECONNRESET for a server that allows a limited
    number of requests on a connection.  Pull request #42 by James Tucker.
  * Request failures are now raised with the backtrace of the original
    exception.  This gives better insight into the reason for the failure.
    See #41 by Andrew Cholakian.
  * OpenSSL is no longer required.  If OpenSSL is not available an exception
    will be raised when attempting to access HTTPS resources.  Feature request
    by André Arko

* Bug fixes
  * Explain the proper way of sending parameters depending upon the request
    method.  Issue #35 by André Arko.
  * Handle Errno::ETIMEDOUT by retrying the request.  Issue #36 by André Arko.
  * Requests retried by ruby 2.x are no longer retried by net-http-persistent.
  * Finish the connection if an otherwise unhandled exception happens during a
    request.  Bug #46 by Mark Oude Veldhuis.
  * detect_idle_timeout now assumes a StandardError indicates the idle timeout
    has been found.  Bug #43 by James Tucker.
   2012-12-17 16:14:42 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-http-persistent to 2.8.

=== 2.8 / 2012-10-17

* Minor enhancements
  * Added Net::HTTP::Persistent::detect_idle_timeout which can be used to
    determine the idle timeout for a host.
  * The read timeout may now be updated for every request.  Issue #33 by
    Mislav Marohnić
  * Added NO_PROXY support.  Pull Request #31 by Laurence Rowe.
  * Added #cert and #key aliases for Net::HTTP compatibility.  Pull request
    #26 by dlee.
  * The artifice gem now disables SSL session reuse to prevent breakage of
    testing frameworks.  Pull Request #29 by Christopher Cooke.
  * Disabled Net::HTTP::Persistent::SSLReuse on Ruby 2+.  This feature is now
    built-in to Net::HTTP.
* Bug fixes
  * Socket options are set again following connection reset.  Pull request #28
    by cmaion.
  * #shutdown now works even if no connections were made.  Pull Request #24 by
    James Tucker.
  * Updated test RSA key size to 1024 bits.  Bug #25 by Gunnar Wolf.
  * The correct host:port are shown in the exception when a proxy connection
    fails.  Bug #30 by glebtv.
   2012-06-13 16:44:45 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-http-persistent to 2.7.

=== 2.7 / 2012-06-06

* Minor enhancement
  * Added JRuby compatibility by default for HTTPS connections.  (JRuby lacks
    OpenSSL::SSL::Session.)
   2012-04-29 17:50:52 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-net-http-persistent to 2.6.

=== 2.6 / 2010-03-26

* Minor enhancement
  * Net::HTTP::Persistent#idle_timeout may be set to nil to disable expiration
    of connections.  Pull Request #21 by Aaron Stone