Re: HTTP 1.1 Support in LWP / ParallelUA



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
.



Relevant Pages

  • Re: http pipelining
    ... Oops, sorry, you meant sending requests in parallel, right? ... down a single TCP connection, without waiting for the first response. ... Certainly urllib and urllib2 don't support pipelining. ...
    (comp.lang.python)
  • Re: WTF Is GibbsCAM "Chain Manager"?
    ... different Gibbs is when it comes to geometry creation than MasterCAM. ... closed shape is a group of connected features in which there is no ... A terminator is used to end a shape. ... connected to any other features or having any connection points. ...
    (alt.machines.cnc)
  • Re: WTF Is GibbsCAM "Chain Manager"?
    ... different Gibbs is when it comes to geometry creation than MasterCAM. ... closed shape is a group of connected features in which there is no ... A terminator is used to end a shape. ... connected to any other features or having any connection points. ...
    (alt.machines.cnc)
  • Re: ADO.NET 2.0 - ResultSet concerns
    ... features removed but I think a strong ... >- ADO.NET is billed as a 'disconnected' methodology. ... Unless you use a DataReader or Command.Executexxx methods. ... >So the golden rule is Open your connection Only when you need to and close ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: More ipaq 6315 complaints....
    ... > all these features interact under normal every-day use. ... Establishing a usuable WiFi connection is a struggle in most ... This one has to do with phone reception and might not necessarily ... > should work as reliably as any regular cell phone out there, I dont ...
    (microsoft.public.pocketpc.phone_edition)