BSD Ports

www/ruby-net-http-persistent 4.0.8 NetBSD

Manages persistent connections using Net::HTTP

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
www, ruby
Package size
59.8 KiB, 192.0 KiB installed

Description

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.

Install

Binary package:

pkgin install ruby33-net-http-persistent

From pkgsrc:

cd /usr/pkgsrc/www/ruby-net-http-persistent && make install clean

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-net-http-persistent-4.0.8, ruby40-net-http-persistent-4.0.8