cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Support for GZIP Content-Encoding in HTTP responses

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 11 Apr 2003 18:25:24 +0200 (CEST)

On Fri, 11 Apr 2003, Nic Hines wrote:

> I didn't have time to follow it through but it appeared to me that
> Curl_client_write() did something funny if it was passed a length of zero.

Yes, then it does strlen() on the data to figure out the length! We may have
reasons to reconsider that decision though.

> This change will prevent it being called in this circumstance. I think it
> can happen if the inflate() function has been handling control data and it
> did not actually produce any normal output during the pass.

Ok. I'm applying now...

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-11