Re: I need some clarification on the curl verbose output
Date: Thu, 29 Aug 2019 11:52:08 -0700
On Wed, Aug 28, 2019 at 10:56 PM Josh sak via curl-users <
curl-users_at_cool.haxx.se> wrote:
> I'm downloading a small sample tar file using `curl` and outputting
> verbose log to see the details:
>
> curl -v -H 'Connection: close'
> https://ftp.gnu.org/gnu/gcc/gcc-2.95.1/gcc-objc-2.95.1.tar.gz > /dev/null
>
> And this is the tail of the output once download is finished:
>
> < X-Content-Type-Options: nosniff
> < Connection: close
> < Content-Type: application/x-gzip
> <
> { [5 bytes data]
> 100 274k 100 274k 0 0 453k 0 --:--:-- --:--:-- --:--:--
> 457k
> * Closing connection 0
> } [5 bytes data]
> * TLSv1.2 (OUT), TLS alert, Client hello (1):
> } [2 bytes data]
>
>
> What is the meaning of TLSv1.2 (OUT), TLS alert, Client hello (1) after
> the connection is closed, is it trying to reconnect?
>
> Is it being sent by the server, or by the client?
>
> I have seen some curl outputs which don't have the string and `Closing
> connection 0` is the last output, what does that mean?
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
That's not the output I see. I get
} [5 bytes data]
* TLSv1.2 (OUT), TLS alert, close notify (256):
} [2 bytes data]
What curl version are you using?
curl --version
curl 7.65.3 (x86_64-redhat-linux-gnu) libcurl/7.65.3 OpenSSL/1.1.1c-fips
zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5)
libssh/0.9.0/openssl/zlib nghttp2/1.39.2
Release-Date: 2019-07-19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos
Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
Side note: adding -s when using -v improves the experience.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-08-29