cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl: Windows vs Mac

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 12 Jul 2012 01:22:49 +0200

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).

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-12