Re: bug in libwww-perl-5.05

Gisle Aas (aas@bergen.sn.no)
27 Jan 1997 10:32:10 +0100


Keith Jones <keithj@blueberry.co.uk> writes:

> On Tue, 21 Jan 1997, Willi Burmeister wrote:
> 
> > 'www.informatik.uni-kiel.de' sends an empty last line. 
> > 'www.netuse.de' does not. I checked the RFC and I think this 
> > behavior is legal.
> 
> I was told it wasn't. I might have to go check the RFC again ;)

I quite sure this behavior is illegal, but I think LWP should try to
be forgiving towards these servers.  I have not been happy with any of
the patches presented for this problem.  I'll try to come up with
something myself for the next release.

What I really would want to do is to rewrite the protocol handling
stuff in terms of IO::Socket and some event loop mechanism.  This is
really needed if we ever are going to support HTTP/1.1's persistent
connections.  It would also allow us to run parallel requests from the
same LWP process.

Regards,
Gisle