cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Longer Voice Message not being posted to Exchange Server with curl release version >=7.24 using SSL(https)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Dec 2014 15:53:25 +0100 (CET)

On Tue, 2 Dec 2014, Prash Dush wrote:

> In this function following callback returns no of read bytes to be zero
> after reading buffer of length 16384 many times, whilst complete message
> content is still not uploaded.
>
> nread = (int)conn->fread_func(data->req.upload_fromhere, 1,
> buffersize, conn->fread_in);

I don't understand. How can this function return 0 if there is still data to
get sent?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-03