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

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


Branch: CURRENT, Version: 4.0.1, Package name: ruby26-net-http-persistent-4.0.1, 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:
[net/ruby-connection_pool] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1dfd87bfc8645e2f63c88b510ff5cc092c745006
RMD160: 4dbf57ec07b7cf9a9fc4e6cfbe56320a42689c12
Filesize: 26.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-01-16 13:59:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-net-http-persistent: update to 4.0.1

=== 4.0.1 / 2021-01-12

Bug fixes:

* Loosen Ruby version requirement so Ruby 3.0 will work.
   2020-05-17 18:05:52 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-net-http-persistent: update to 4.0.0

Update ruby-net-http-persistent to 4.0.0.

=== 4.0.0 / 2020-04-30

Breaking changes:

* Removed built-in support for retrying failed requests as Net::HTTP has this
  built-in for all supported versions.  Pull request #100 by Michael Grosser.
* Dropped support for EoL ruby versions (< 2.4).  Future feature releases may
  drop support for ruby versions that are at end-of-life or in security-only
  maintenance mode with any release.  Pull request #113 by David Rodríguez

New features:

* Added Net::HTTP::Persistent#max_retries= to configure the number of retries
  performed on a request for ruby versions that support it (2.5+).
* URI-ness is determined through #respond_to? to allow compatibility with
  Addressable::URI.  Pull request #67 by Ryan McKern.
* Use require_relative to reduce patch burden for vendored versions.  Pull
  Request #106 by David Rodríguez

Bug fixes:

* Stop wasting a connection when the keep-alive timeout is less than the idle
  timeout.  Pull request #115 by Yap Sok Ann.
* Improved use of URI#hostname for IPv6 connections.  Pull request #76 by
  Tomas Koutsky.
* Improved check for Process::RLIMIT_NOFILE support.  Pull request #109 by Vít
  Ondruch.
* Fix namespace in comments for escape/unescape wrappers.  Pull request #114
  by David Rodríguez.
* Fix History.txt timestamp for 3.0.0 release.  Pull request #107 by Joe Van
  Dyk.
* Fix link to PR #98 in 3.1.0 release notes.  Pull request #110 by Justin
  Reid.

Other:

* Updated Net::HTTP::Persistent#reconnect documentation to indicate that all
  connections are reset.  Issue #117 by Taisuke Miyazaki.
   2020-03-29 08:38:44 by Takahiro Kambe | Files touched by this commit (1)
Log message:
www/ruby-net-http-persistent: missing from previos commit

Commit one more missing file in previous commit.
   2020-03-29 08:18:44 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
regen ( 3.0.1 to 3.1.0)
   2020-03-20 19:00:26 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
www/ruby-net-http-persistent: update to 3.1.0

Update ruby-net-http-persistent to 3.1.0.

=== 3.1.0 2019-07-24

New features:
* Support ruby 2.6 Net::HTTP#write_timeout=.  Pull request #99 by Víctor
  Roldán Betancort.
* Support setting TLS min/max version.  Pull request #94 by Bart.

Bug fixes:
* Reduce potential for memory leak through Hash default proc bindings.  Pull
  request #64 by Dominic Metzger.
* Test proxy auto detection from no_proxy in ENV.  Pull request #60 by
  HINOHARA Hiroshi.
* Add missing timestamp for 3.0 release.  Pull request #78 by Joe Van Dyk.
* Support IPv6 URLs in proxy checks.  Pull request #82 by Nicolás Sanguinetti.
* Use Net::HTTPGenericRequest#method to check idempotence for improved
  compatibility.  Pull request #83 by Fotos Georgiadis.
* Run net-http-pipeline tests in travis.  Pull request #86 by T.J. Schuck.
* Correct +no_proxy+ support to override Net::HTTP proxy fallback.  Pull
  request #88 by Jared Kauppila.
* Mitigate memory leak when combined with faraday.  Pull request #105 by Yohei
  Kitamura.
* Set default connection pool size for Windows.  Pull request #90 by Jared
  Kauppila.
* Fix missing +name:+ argument in documentation.  Pull requests #85 by T.J.
  Schuck, #84 by James White.
* Fix memory leak from connection pooling.  Pull request #97 by Aaron
  Patterson.
* Update tests for minitest assert_equal deprecation.  Pull request #92 by
  Olle Jonsson.
* Fix typo in Net::HTTP::Persistent#pipeline.  Pull request #91 by Kazuma
  Furuhashi.

Other:
* Added bundler hoe plugin.  Pull request #103 by Michael Grosser.
* Updated ruby versions in Travis CI.  Pull request #93 by Olle Jonsson.  Pull
  request #103 by Michael Grosser.
   2019-07-08 18:26:39 by Leonardo Taccari | Files touched by this commit (1)
Log message:
ruby-net-http-persistent: Adjust ruby-connection_pool dependency pattern

Match the semantic of `~>' in the gem.
   2019-07-08 18:24:44 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
ruby-net-http-persistent: Update to 3.0.1

pkgsrc changes:
 - Add missing dependency to ruby-connection_pool

Changes:
No changelog available, mostly documentation improvements and misc bug
fixes according commits.
   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.