cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http post & progress function

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Sep 2002 10:49:30 +0200 (MET DST)

On 26 Sep 2002, Traxler Bence wrote:

> > Does your progress callback prototype match this:

[snip]

> Exactly. The strange thing is that dltotal and dlnow variables shows the
> right values, the size of the server answer but the other two is 0.

If you do this operation from the command line, does the prgress meter show
anything but zeros for uploading?

Otherwise, can you set a break-point on the
curl/lib/progress.c:Curl_pgrsUpdate() function and see what kind of data it
has for the upload and see why it seems to be passing zeros in the callback?

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-27