curl-library
Re: header only response [PATCH]
Date: Fri, 5 Apr 2002 21:20:39 +0800
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "Jacky Lam" <sylam_at_emsoftltd.com>
Cc: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
Sent: Friday, April 05, 2002 9:03 PM
Subject: Re: header only response [PATCH]
> On Fri, 5 Apr 2002, Jacky Lam wrote:
>
> > Thanks. I have tested the patch and works. However, I have found another
> > problem about header parsing which your patch hasn't addressed.
>
> But this wasn't addressed by your version of the patch either, was it?
>
Yes....your patch is better than mine(shame :p)
> > Transfer() will get into infinity loop when the server send a response
> > like this:
> > "HTTP 304 Not Modified\r\n\r\n".
> > Just one line finished response. Do you have any idea?
>
> Is that a 1.0 or 1.1 reply when you see this? What happens with the
> connection, is it still alive?
>
The reply is 1.0 and I have explicitly included "keep-alive" in the
request header.
> --
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
>
>
Received on 2002-04-05