mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
12 lines
497 B
Plaintext
12 lines
497 B
Plaintext
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.
|