develooper Front page | perl.libwww | Postings from March 2001

Re: LWPng Keep-Alive connection

Thread Previous
Gisle Aas
March 8, 2001 12:19
Re: LWPng Keep-Alive connection
Message ID:
Sten Folkerman <> writes:

> I want my LWPng (alpha-0.24) program to use 'Connection: Keep-Alive'
> instead of 'Connection: close'. In LWP/Conn/, setting
> $cnf{ReqLimit} to a big number seems to do the trick. But how do I
> achieve that in my main routine, where I have access only to the UA
> and my Request object?

Try something like:

$ua->uri_attr_update("SCHEME", "http:")->{conn_param}(ReqLimit} = 999;


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About