Proxy display hostname is null pointer #1248

Closed
jay opened this Issue Feb 6, 2017 · 1 comment

Projects

None yet

3 participants

@jay
Member
jay commented Feb 6, 2017

I did this

curl -v --proxy http://example.com:80 http://example.com

I expected the following

  • Connected to example.com (93.184.216.34) port 80 (#0)

but instead I got

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

clipboard02

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
2f8d0df
@mkauf mkauf closed this in 2f8d0df Feb 18, 2017
@mkauf
Contributor
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