Click here to get back home

HTTP 1.1 Support in LWP / ParallelUA

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
HTTP 1.1 Support in LWP / ParallelUA Dominik M. Herrmann 02-11-2006
Get Chitika Premium
Posted by Dominik M. Herrmann on February 11, 2006, 2:20 pm
Please log in for more thread options


Hi,

I am creating some Perl scripts at the moment to evaluate the
performance of webservers over long time periods.

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). These features are used by modern browsers in order
to speed up their website downloads.

Are there any plans to incorporate those advanced concepts into LWP or
ParallelUA?

Do you know of other toolkits / modules which do support them?

Best regards
Dominik

Posted by Sisyphus on February 12, 2006, 5:41 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" ?

Cheers,
Rob



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

Similar ThreadsPosted
HTTP::Daemon IPv6 support? March 16, 2006, 5:18 pm
Module with GSSAPI support? July 5, 2005, 12:44 pm
How to tie with YAML but also have flock support? December 23, 2007, 9:11 am
Term::ReadLine - Terminal does not support AddHistory June 14, 2005, 12:54 pm
Net::Telnet -- does it support Proxy or SOCKS connections? August 4, 2005, 11:10 pm
No queue support with the Sleepycat::Db Perl interface? March 28, 2006, 7:03 pm
New version of Config::Model (v0.616): INI file support December 6, 2007, 1:06 pm
does archive::zip support extracting large zip file, such as 12G? December 4, 2008, 4:37 am
Do Win32::ODBC module support Chinese characters when used with MS Access? September 15, 2004, 10:33 pm
How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif") June 5, 2007, 4:22 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap