curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Malformed chunk error

From: Thiru balaji <thirubalajis_at_gmail.com>
Date: Thu, 10 Nov 2016 10:34:26 +0530

Hi Daniel,

Thanks fro your reply, I will capture the network stream for the respective
chunk.

Thanks
Thiru balaji S

On Wed, Nov 9, 2016 at 5:20 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 9 Nov 2016, Thiru balaji wrote:
>
> I have captured the exact error of text
>>
>> "* Malformed encoding found in chunked-encoding
>> * Closing connection 5"
>>
>> I dont know what is causing this error.
>>
>
> If you also capture the network stream I'm sure you'll see why.
>
> That's the error code known as CHUNKE_BAD_CHUNK in lib/http_chunks.c. If
> you check that code, you see there are only a few places where that error
> can be returned. It seems to only be returned for cases where there wasn't
> a CR or LF byte when one was expected.
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-10