Skip to content

Problem with resolving hostname with socks5 proxy on 7.69.0 #5053

@vitaha85

Description

@vitaha85

Hi,
I have some problems with resolving host name

~ curl --version
curl 7.69.0 (x86_64-apple-darwin19.3.0) libcurl/7.69.0 SecureTransport zlib/1.2.11
Release-Date: 2020-03-04
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets

When trying to use socks5 proxy after upgrade i get :

  • Closing connection 0
    curl: (6) Couldn't resolve host name

Command: curl -x socks5://username:password@11.11.11.11:1080 https://google.com -v

if I use socks5h everything ok
Command curl -x socks5h://username:password@11.11.11.11:1080 https://google.com -v

On version 7.68.0 command curl -x socks5://username:password@11.11.11.11:1080 https://google.com -v works well

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions