curl-library
Re: libcurl: Windows vs Mac
Date: Wed, 11 Jul 2012 16:35:45 -0700
Hi, Dan,
On Wed, Jul 11, 2012 at 4:22 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Wed, Jul 11, 2012 at 12:38:04PM -0700, Igor Korot wrote:
>> Running on Mac/Cocoa this executes fine. When ran on Windows however,
>> I am getting CURLE_WRITE_ERROR
>> and the errorMsg contains: "Failed writing body(1416 != 1460)".
>
> This error occurs when the write callback returns an error. Are
> you setting a write callback? Are you setting any write data?
> Windows has an issue with the default write callback due to
> issues sharing DLLs (see the tutorial for more info).
No, I don't set any callback.Just using the code from the tutorial
at the beginning of HTTP Post section.
Thank you.
>
>>>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-12