cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: host.name vs. host.dispname

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Mon, 09 Jul 2012 20:06:12 +0200

"Daniel Stenberg" <daniel_at_haxx.se> wrote:

> Okay, but can you give me an exact command line you use to get it? I've not
> yet managed to repeat this problem and I would like to, so that I can perhaps
> make a test case for it.

Sorry for the delay. I forgot about this. But this example shows the
"(nil)" part in the trace:
  curl -vL -o NUL https://www.skandiabanken.se

...
  * Couldn't find host www.skandiabanken.se in the _netrc file; using defaults
  * Re-using existing connection! (#0) with host (nil)
  * Connected to (nil) (194.114.243.37) port 443 (#0)
> GET /hem HTTP/1.1
> User-Agent: curl/7.27.0-DEV

My libcurl options. curl.exe -V
curl 7.27.0-DEV (i386-pc-win32) libcurl/7.27.0-DEV SSL-Windows-native zlib/1.2.5 libidn/1.18 iconv/1.9 libssh2/1.4.3_DEV
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS TrackMemory GSS-Negotiate IDN IPv6 Largefile NTLM SPNEGO SSL SSPI libz CharConv

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-09