curl-library
Re: problem with persistent server side connections [PATCH]
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Jan 2002 09:38:37 +0100 (MET)
Received on 2002-01-07
Date: Mon, 7 Jan 2002 09:38:37 +0100 (MET)
On Fri, 4 Jan 2002, Pete Su wrote:
> But, if persistent connections are enabled,and I send certain Webdav
> requests that result in a body-less response (like PUT, DELETE, etc), the
> server will send back something like
>
> 204 No Content
> <headers>
>
> and at this point libcurl just hangs waiting for more data.
Ugha. This is indeed a libcurl flaw. It doesn't treat the 204 the way it
should.
Thanks for telling!
> I'm using libcurl 7.8, but I tried my code against 7.9.2 and got the same
> behavior. I'll try again to be sure.
Could you please try to apply the attached patch and let us know if it makes
things better?
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
- TEXT/PLAIN attachment: http-204.patch