cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Issues on callback write_data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Mar 2007 00:27:17 +0200 (CEST)

On Sun, 25 Mar 2007, Gustavo Elias Siqueira wrote:

> But the issue still remains...
> The second callback have a bigger size, but no data avaiable.

Sorry, can you please elborate on what this means. What's bigger and if the
size is bigger, what do you mean with "no data available" ?

> I put some breakpoints right after perform line, and both chunk.memory and
> *mem just got a parcial data. The write_data function is called by libcurl 2
> times during the perform, but the data that I showed to you, I got at the
> fist callback...nothing in the second one.

I think you're wrong. The callback isn't even ever called if there's no data
provided to it.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET