|
Posted by Dominik M. Herrmann on February 14, 2006, 2:06 am
Please log in for more thread options
>>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
|