cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with libcurl 7.7.2 and solaris7 HTTP POST

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Apr 2001 10:04:06 +0200 (MET DST)

On Fri, 27 Apr 2001, Daniel Stenberg wrote:

> There is a bug in the treatment of 'Content-Length: 0'. I can actually
> see that in the code now. It basically does maxdownload = Content-Length
> and then later on if(maxdownload) then blablabla. But that would equal
> true of Content-Length is 0...

... and attached to this mail is a patch that seems to adjust this. This code
was just now committed to CVS.

I added a test case to verify that this behaves as supposed, and it seems to.

I'll appriciate some kind of progress report after this has been applied!

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library

Received on 2001-04-27