Skip to content

Could not resolve proxy name error message with curl 8.13.0 #16958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jcamiel opened this issue Apr 4, 2025 · 1 comment
Closed

Could not resolve proxy name error message with curl 8.13.0 #16958

jcamiel opened this issue Apr 4, 2025 · 1 comment

Comments

@jcamiel
Copy link

jcamiel commented Apr 4, 2025

Hi all,

The error message for unresolved proxy has slightly changed with curl 8.13.0.

Before 8.13.0:

$ curl --proxy unknown http://localhost
curl: (5) Could not resolve proxy: unknown

With 8.13.0:

$ curl --proxy unknown http://localhost
curl: (5) Could not resolve proxy: localhost

Is this intended?

Big thanks for curl by the way!

I expected the following

No response

curl/libcurl version

curl 8.13.0 (aarch64-alpine-linux-musl) libcurl/8.13.0 OpenSSL/3.3.3 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 c-ares/1.34.4 libidn2/2.3.7 libpsl/0.21.5 nghttp2/1.65.0
Release-Date: 2025-04-02
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd

operating system

Linux c8204b46d2d0 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 02:32:42 UTC 2024 aarch64 Linux

@bagder
Copy link
Member

bagder commented Apr 4, 2025

No, this is a bug.

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

Successfully merging a pull request may close this issue.

2 participants