cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [ curl-Bugs-1603712 ] curl 7.16-0 now use "limit rate" badly

From: Sebastien WILLEMIJNS <sebastien_at_willemijns.com>
Date: Mon, 27 Nov 2006 19:12:14 +0100

On Mon, 27 Nov 2006 14:39:56 +0100 (CET), "Daniel Stenberg"
<daniel_at_haxx.se> said:
> On Mon, 27 Nov 2006, SourceForge.net wrote:
>
> > When i use "--limit-rate" in 7-16.0 this function crash/stops software when
> > speed is equal or is more value i choose
> >
> > ========> choose 5K as value and software stops, choose 5000M and software
> > do not stop !!! <========
> >
> > bug are not been detected in 7.15.5 because the package is not present in
> > curl archive packs ;)
>
> So I *assume* that this is the same problem we are already discussing? If
> so, why post it there and not mention the connection with our mail thread?

sorry :-( i have been to quickly :-(

> And while curl 7.15.5 is not present on the download page for Windows,
> that doesn't necessarily prevent you from testing it...

i only have this version (unix) on my own debian server and it works
well...

root_at_vdsswi:~# curl -V
curl 7.15.5 (i486-pc-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.2
libidn/0.6.5
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
root_at_vdsswi:~# cd test
root_at_vdsswi:~/test# curl --limit-rate 3K
http://test-debit.free.fr/image.iso -o deleteme -r 0-100000
  % Total % Received % Xferd Average Speed Time Time Time
  Current
                                 Dload Upload Total Spent Left
                                 Speed
100 97k 100 97k 0 0 3075 0 0:00:32 0:00:32 --:--:--
2445

> Anyway, will you be able to investigate this any further? I can't see any
> particular flaw in the logic in how this is dealt with in the Transfer()
> function in lib/transfer.c!

all is in http://80.247.230.136/bug/

in 7160.log we can see CURL stops for unknown reason...

==========================> now i have installed acftp (an open source
ftp server 4 win32)
the log named acftp-7160.log is on the same directory, it is amazing to
see in this log the server send a "226 transfer complete" and curl show
a 18 error.... of course curl 7.15.4 works well again and i have full
size with no errors...

what users can test this commandline under unix and give us answer ?
curl7160 --limit-rate 1K http://test-debit.free.fr/image.iso -o deleteme
-r 0-100000 -v --trace 7160.log
Received on 2006-11-27