cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Wrong data received in a write callback

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Wed, 16 May 2007 13:16:16 +0300

Nicolas,

On 5/16/07, Nicolas Martin <nico.martin_at_gmail.com> wrote:

> I'm using libcurl 7.15.5 in a small download utility I wrote. This
> software is cross compiled and ran on an ARM9 platform.
>
> Performing some testing, I noticed some downloaded files (about 5%)
> are different from the original.
>
> My question is, what tools would you recommend to me that I could use
> to find the underlying problem ? I've seen there is a memory debug
> utility that can be compiled in libcurl, but any more pieces of advice
> are welcome.
>

I had a few issues on ARM with various networking programs moved from x86,
and it was always something related to alignment.
Casting and alignment of structures are the places to pay attention.
This is just my two cents.

-- 
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
Received on 2007-05-16