curl-library
Re: Query on handling chunk transfer encoding
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Sep 2015 08:20:32 +0200 (CEST)
Date: Tue, 22 Sep 2015 08:20:32 +0200 (CEST)
On Tue, 22 Sep 2015, Thiru balaji wrote:
> When I am getting writedata callback from the http1.1 server, which sends
> data in chunked transfer mode. How would i identify the end of download.
When curl_easy_perform() returns or when curl_multi_perform() signals end of
transfer. Just like with all other transfers!
> Does curl gives a wrietCallback with size 0.
Nope.
> if so which version of curl should be used.
curl has supported chunk transfer encoding since before the age of dawn, that
is since before there even was a libcurl.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-09-22