Re: Bypassing libcurl's handling of content-encoding and
Date: Mon, 12 Feb 2007 23:11:37 +0100 (CET)
On Mon, 12 Feb 2007, Shmulik Regev wrote:
> I've managed to locate the problem you've pin-pointed and to (hopefully) fix
> it. The solution is to always call Curl_client_write (at the beginning of
> Curl_httpchunk_read) regardless of the actual chunk parsing state. This also
> makes the code simpler (which is always a good sign of a correct fix :) .
Thanks a lot, I've now committed this!
> Lastly, I noticed that when running curl with the --trace option, the
> produced output does NOT contain the terminating CRLF of the response.
> Perhaps it is intentional, but if it isn't, here is a tiny patch to fix it
I included that fix in my commit.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-02-12