cURL / Mailing Lists / curl-library / Single Mail


Re: Unable to send/receive messages using curl (version 7.28.1)

From: Gisle Vanem <>
Date: Fri, 22 Mar 2013 13:50:56 +0100

"subrahmanya" <> 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.

List admin:
Received on 2013-03-22