Proxy display hostname is null pointer #1248

jay opened this Issue Feb 6, 2017 · 1 comment


None yet

3 participants

jay commented Feb 6, 2017

I did this

curl -v --proxy

I expected the following

  • Connected to ( port 80 (#0)

but instead I got

  • Connected to (nil) ( port 80 (#0)


Probably a missing fix hostname call somewhere.

curl/libcurl version

curl 7.52.1 (i386-pc-win32) libcurl/7.52.1 OpenSSL/1.0.2k nghttp2/1.19.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS Debug Largefile NTLM SSL HTTP2 HTTPS-proxy

operating system

Windows 7

@mkauf mkauf added a commit that closed this issue Feb 18, 2017
@mkauf mkauf proxy: fix hostname resolution and IDN conversion
Properly resolve, convert and log the proxy host names.
Support the "--connect-to" feature for SOCKS proxies and for passive FTP
data transfers.

Follow-up to cb4e2be

Reported-by: Jay Satiro
Fixes #1248
@mkauf mkauf closed this in 2f8d0df Feb 18, 2017
mkauf commented Feb 18, 2017

Fixed, thank you for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment