curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is my "Time Spent" erroneous?

From: <doark_at_mail.com>
Date: Thu, 23 Nov 2017 23:35:40 -0500

On Date: Fri, 6 Oct 2017 02:12:37 -0400,
Ray Satiro <raysatiro_at_yahoo.com> wrote:
> On 9/16/2017 8:37 PM, Ian wrote:
> > Hello,
> > The output of the following script:
> >
> > #!/bin/bash
> > for i in 1 2 3 4 5
> > do
> > date && curl -o test
> > http://mirror.exetel.com.au/pub/gentoo/distfiles/shominst-0409.zip
> > done
> >
> > is
> >
> > Sat Sep 16 11:45:20 AEST 2017
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current Dload Upload Total Spent Left Speed
> > 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> > --:--:-- 2695k Sat Sep 16 11:45:24 AEST 2017
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current Dload Upload Total Spent Left Speed
> > 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> > --:--:-- 2670k Sat Sep 16 11:45:28 AEST 2017
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current Dload Upload Total Spent Left Speed
> > 100 9743k 100 9743k 0 0 3247k 0 0:00:03 0:00:03
> > --:--:-- 2646k Sat Sep 16 11:45:31 AEST 2017
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current Dload Upload Total Spent Left Speed
> > 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> > --:--:-- 2662k Sat Sep 16 11:45:35 AEST 2017
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current Dload Upload Total Spent Left Speed
> > 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> > --:--:-- 2662k
> >
> > Note how the "Time Spent" varies apparently randomly from a factual 3
> > seconds to 1:11:38. Anyone know why?
> >
> > Thanks.
> >
> >
> > Originally posted here:
> > https://forums.gentoo.org/viewtopic.php?p=8118520#8118520
> >
> > # curl -V
> > curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2l
> > zlib/1.2.11
> > Release-Date: 2017-08-14
> > Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s
> > rtsp smtp smtps telnet tftp
> > Features: Largefile NTLM SSL libz TLS-SRP UnixSockets HTTPS-proxy
>
> Can someone else try to reproduce this?
>

I'd like to but I'm experiencing some down time (laptop died and I'm
stuck with a tether for Internet), and I'm not certain how exactly curl
was compiled.

Tap, Tap, Tap.
Ian, does this look correct?

configure --enable-optimize --enable-warnings --disable-symbol-hiding
--enable-http --enable-ftp --enable-file --disable-ldap --disable-ldaps
--enable-rtsp --enable-proxy --enable-dict --enable-telnet --enable-tftp
--enable-pop3 --enable-imap --disable-smb --enable-smtp --enable-gopher
--enable-manual --enable-ipv6 --enable-libgcc --enable-threaded-resolver
--enable-pthreads --enable-verbose --disable-sspi --enable-crypto-auth
--enable-ntlm-wb --enable-tls-srp --enable-unix-sockets --enable-cookies
--with-pic --with-gnu-ld --with-zlib --without-gssapi --without-winssl
--without-darwinssl --with-ssl --without-gnutls --without-polarssl
--without-mbedtls --without-cyassl --without-nss --without-axtls
--without-libmetalink --without-libssh2 --without-librtmp
--without-winidn --without-libidn2 --without-nghttp2
--without-zsh-functions-dir

Sincerely,
David

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-24