"subrahmanya" <sum.sa...@gmail.com> wrote:

When I run my application I get the value "-1" for "nread". This was not
considered as error till 7.18.0 release. From release 7.18.0 onwards this
value is treated as error because of the condition "if((size_t)nread >
buffersize)". And hence my application breaks.

Do you have a read callback set with 'CURLOPT_READFUNCTION'? If so,
it could be returning a wrong value. Show it to us.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to