www/rubygem-net-http-persistent 4.0.7 MidnightBSD
Manages persistent connections using Net::HTTP
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, net, rubygems
Description
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 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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/rubygem-net-http-persistent | 4.0.7 |
| FreeBSD | www/rubygem-net-http-persistent | 4.0.8 |
| DragonFly | www/rubygem-net-http-persistent | 4.0.5 |
Install
Binary package:
mport install net-http-persistent
From mports:
cd /usr/mports/www/rubygem-net-http-persistent && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= net-http-persistent>0:www/rubygem-net-http-persistent
Dependencies
As this port's Makefile names them.
Build 2
rubygem-cgi>=0.5.1<0.6: www/rubygem-cgirubygem-connection_pool>=2.2.4<4: net/rubygem-connection_pool
Runtime 2
rubygem-cgi>=0.5.1<0.6: www/rubygem-cgirubygem-connection_pool>=2.2.4<4: net/rubygem-connection_pool
Build dependencies 2
Run dependencies 2
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/net-http-persistent-4.0.7.gem | 27648 | b20ecd12a23151c98f1e6e1c667225b5f5ef1506888a8cdff817f9e05b66ea1e |
Master sites 1
- RG