diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-31 08:52:02 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-31 08:52:02 +0000 |
commit | 6b94ef710c51c9a47c779650a86919f59d84654e (patch) | |
tree | 89ceb515ea03fe601d3830124c04019e698d84ac /www/rubygem-net-http-persistent | |
parent | a1eb4e564597b916c1bb7f2677d94661cb90d77c (diff) | |
download | ports-6b94ef710c51c9a47c779650a86919f59d84654e.tar.gz ports-6b94ef710c51c9a47c779650a86919f59d84654e.zip |
Notes
Diffstat (limited to 'www/rubygem-net-http-persistent')
-rw-r--r-- | www/rubygem-net-http-persistent/Makefile | 23 | ||||
-rw-r--r-- | www/rubygem-net-http-persistent/distinfo | 2 | ||||
-rw-r--r-- | www/rubygem-net-http-persistent/pkg-descr | 10 |
3 files changed, 35 insertions, 0 deletions
diff --git a/www/rubygem-net-http-persistent/Makefile b/www/rubygem-net-http-persistent/Makefile new file mode 100644 index 000000000000..0f08318999ef --- /dev/null +++ b/www/rubygem-net-http-persistent/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: rubygem-net-http-persistent +# Date created: 2011-10-31 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= net-http-persistent +PORTVERSION= 2.3.1 +CATEGORIES= www net ruby +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Manages persistent connections using Net::HTTP + +RUN_DEPENDS= rubygem-hoe>=2.12:${PORTSDIR}/devel/rubygem-hoe \ + rubygem-minitest>=2.6:${PORTSDIR}/devel/rubygem-minitest + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-net-http-persistent/distinfo b/www/rubygem-net-http-persistent/distinfo new file mode 100644 index 000000000000..b3049d504f5b --- /dev/null +++ b/www/rubygem-net-http-persistent/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/net-http-persistent-2.3.1.gem) = 07615b98e8dc36f8ca58cad2977bcd1338616f4d1003c2777de739666636253d +SIZE (rubygem/net-http-persistent-2.3.1.gem) = 20992 diff --git a/www/rubygem-net-http-persistent/pkg-descr b/www/rubygem-net-http-persistent/pkg-descr new file mode 100644 index 000000000000..c6c89eed4fa9 --- /dev/null +++ b/www/rubygem-net-http-persistent/pkg-descr @@ -0,0 +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 +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. + +WWW: https://github.com/drbrain/net-http-persistent +WWW: https://rubygems.org/gems/net-http-persistent |