1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Sunpoet Po-Chuan Hsieh 2020-05-02 01:40:10 +00:00
parent 2a58b50fbe
commit bddb385817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533648
3 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= net-http-persistent
PORTVERSION= 3.1.0
PORTVERSION= 4.0.0
CATEGORIES= www net rubygems
MASTER_SITES= RG

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1564157983
SHA256 (rubygem/net-http-persistent-3.1.0.gem) = eab637fcee31d2f2c119c24b5ae36d73cd8c08ccd9a45567829f24059e9836ae
SIZE (rubygem/net-http-persistent-3.1.0.gem) = 31744
TIMESTAMP = 1588348247
SHA256 (rubygem/net-http-persistent-4.0.0.gem) = 790b3a0862d8bff1d26c5bb8465f20406212ee83e4fce9e34088fe7aecdc6d69
SIZE (rubygem/net-http-persistent-4.0.0.gem) = 30720

View File

@ -1,9 +1,10 @@
net-http-persistent 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
net-http-persistent manages persistent connections using Net::HTTP including a
thread pool for connecting to multiple hosts. 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.
with some API methods but does not make setting up a single persistent
connection or managing multiple connections easy. Net::HTTP::Persistent wraps
Net::HTTP and allows you to focus on how to make HTTP requests.
WWW: https://github.com/drbrain/net-http-persistent