cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Empty POST requests with libcurl on Tiger PPC

From: Nanbackups <nanbackups_at_gmail.com>
Date: Tue, 2 Mar 2010 18:46:31 -0500

The problem happened to be in my code :

bool HttpConnection::SetSizeOpt(CURLoption option, size_t value) {
 return SetCurlOpt(curl_handle_, option, static_cast<int64>(value));
}

Changing int64 to int32 (since that is what curl_easy_setopt expects)
fixed the issue. It worked on Leopard only because little endianness
worked in favor.

Thanks for your help.

On Tue, Mar 2, 2010 at 3:41 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 2 Mar 2010, Nanbackups wrote:
>
>> Do the options I specified help?
>
> Not for me. Can you please provide a complete example (as small as possible)
> in plain C code that repeats your problem?
>
> --
>
>  / daniel.haxx.se
> -------------------------------------------------------------------
> 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 2010-03-03