#1108 Duplicate progress bar in latest version

closed-fixed
5
2013-06-21
2012-04-13
No

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

Discussion

  • Daniel Theron

    Daniel Theron - 2012-04-13

    output

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-04-16
    • assigned_to: nobody --> bagder
    • labels: --> client module
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks