Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LWP::ConnCache::MaxKeeUservContributed)LWP::ConnCache::MaxKeepAliveRequests(3)

NAME
       LWP::ConnCache::MaxKeepAliveRequests - A	connection cache that enforces
       a max keep alive	limit

SYNOPSIS
	 use LWP;
	 use LWP::ConnCache::MaxKeepAliveRequests;
	 my $ua	= LWP::UserAgent->new;
	 $ua->conn_cache(
	     LWP::ConnCache::MaxKeepAliveRequests->new(
		 total_capacity		 => 10,
		 max_keep_alive_requests => 100,
	     )
	 );

DESCRIPTION
       LWP::UserAgent is the default module for	issuing	HTTP requests from
       Perl. It	has a keep_alive setting which by default allows unlimited
       requests	to the same server. Some servers will disconnect you after a
       limited number of requests (in Apache 2 this is achieved	with the
       MaxKeepAliveRequests directive).	This module allows you to limit	the
       maximum number of keep alive requests to	a server.

AUTHOR
       Leon Brocard <acme@astray.com>.

COPYRIGHT
       Copyright (C) 2008, Leon	Brocard

LICENSE
       This module is free software; you can redistribute it or	modify it
       under the same terms as Perl itself.

perl v5.32.0			  2011-LWP::ConnCache::MaxKeepAliveRequests(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=LWP::ConnCache::MaxKeepAliveRequests&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help