curl-library
Re: Malformed chunk error
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Nov 2016 12:50:10 +0100 (CET)
Date: Wed, 9 Nov 2016 12:50:10 +0100 (CET)
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.htmlReceived on 2016-11-09