cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3517418 ] Duplicate progress bar in latest version

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 16 Apr 2012 15:51:13 -0700

Bugs item #3517418, was opened at 2012-04-13 00:25
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3517418&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: client module
Group: wrong behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Theron (blackcat101)
>Assigned to: Daniel Stenberg (bagder)
Summary: Duplicate progress bar in latest version

Initial Comment:
Hi There,

I recently upgraded to the latest cURL version 7.25.0 and latest dependant packages, and I think I found a bug.
When I transfer one file using the "-#" flag for progress bar, it displays 2 progress bars instead of 1. I used the "-v" flag to see if it was not maybe sending the file twice, but does not seem so. Here is examples of the old version of cURL that does not give this problem (7.19.6):

$ uname -a
SunOS V240-rd-2 5.10 Generic_147440-12 sun4u sparc SUNW,Sun-Fire-V240

$ curl --version
curl 7.19.6 (sparc-sun-solaris2.10) libcurl/7.19.6 OpenSSL/0.9.8r zlib/1.2.5 libidn/1.14 libssh2/1.2.1
Protocols: tftp ftp telnet dict http file https ftps scp sftp
Features: IDN IPv6 Largefile NTLM SSL libz

$ curl --connect-timeout 10 --retry 6 --use-ascii -# -k -u userx:passwd1 -T test_file sftp://172.21.2.232/
######################################################################## 100.0%

$ curl --connect-timeout 10 --retry 8 --ftp-port - -# -T test_file -u userx:passwd1 ftp://172.21.2.232/
######################################################################## 100.0%

Now I upgraded to the latest curl version with latest dependant packages:

$ curl --version
curl 7.25.0 (sparc-sun-solaris2.10) libcurl/7.25.0 OpenSSL/1.0.1 zlib/1.2.6 libidn/1.24 libssh2/1.4.1
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

$ curl --connect-timeout 10 --retry 6 --use-ascii -# -k -u userx:passwd1 -T test_file sftp://172.21.2.232/
######################################################################## 100.0%
######################################################################## 100.0%

$ curl --connect-timeout 10 --retry 8 --ftp-port - -# -T test_file -u userx:passwd1 ftp://172.21.2.232/
######################################################################## 100.0%
######################################################################## 100.0%

Thanks,
Daniel

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2012-04-16 15:51

Message:
Thanks for the report, this problem is now fixed in the git repository.

To try it out, you either checkout/update your git clone:
http://curl.haxx.se/source.html

or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3517418&group_id=976
Received on 2012-04-17

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET