Re: HTTP 1.1 Support in LWP / ParallelUA
- From: "Dominik M. Herrmann" <domi_REMOVETHIS_@xxxxxxxxx>
- Date: Tue, 14 Feb 2006 08:06:34 +0100
As far as I have read on CPAN and in Usenet discussions, the libwww-perl
and the derived ParallelUA do not support the HTTP/1.1 features
"persistent connections" (using a connection for more than one reques)
and "pipelining" (sending several requests before the corresponding
responses arrive).
This point intrigues me a little. (Bear in mind that I'm a http ignoramus.)
I find in 'perldoc LWP' the following:
"The libwww-perl HTTP implementation currently support the HTTP/1.1 and
HTTP/1.0 protocol."
Are you saying that the documentation is incorrect ? .... or is it simply
the case that there's a distinction to be drawn between "HTTP/1.1 features"
and "HTTP/1.1 protocol" ?
The libwww-perl implements all features of the HTTP/1.1 protocol to be
compatible with HTTP/1.1 web servers (i.e, it adds a Connection: close
header to each request so that the webserver does *not* leave the
connection open after the response is received). But it does not
implement the advanced features which enhance performance.
Gisle Aas, who is responsible for the development of LWP, has done some
work on LWPng (next generation), which incorporates proper handling of
persistent connections and pipelining. But his work stopped at alpha
level... (cf. http://www.linpro.no/lwp/lwpng-paper/)
Has anyone experience with LWPng?
Best regards,
Dominik
.
- References:
- HTTP 1.1 Support in LWP / ParallelUA
- From: Dominik M. Herrmann
- Re: HTTP 1.1 Support in LWP / ParallelUA
- From: Sisyphus
- HTTP 1.1 Support in LWP / ParallelUA
- Prev by Date: debugging (stepping thru in debugger) within a try block
- Next by Date: Re: debugging (stepping thru in debugger) within a try block
- Previous by thread: Re: HTTP 1.1 Support in LWP / ParallelUA
- Next by thread: Free CGI scripts to search sites?
- Index(es):
Relevant Pages
|