cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: 56 - Received problem 3 in the chunky parser

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 2 Mar 2005 23:23:24 +0100 (CET)

On Fri, 25 Feb 2005, Nayeem Syed wrote:

> I am getting the above error at random times. I read in the archive on a
> message that this is due to not receiving RFC-compliant replies from the
> server.

Indeed it is.

> But I have no control over the server. Is there a way to just take what I
> have and work with that instead of not taking anything?

I guess it would help us if you could give us a hex dump of the actual
contents you get so that we can either help you or even teach libcurl to be
less strict about the format.

> Would commenting out the relevant lines in transfer.c be enough?

The chunky decoding is done in http_chunks.c

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-03-02