-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
noproxy difference between 7.85 and 7.86 #9884
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
Comments
Some additional information. Version 7.85.0:
In this case, it picks up the no proxy appropriately, and directly connects. Version 7.86.0
In this case, it seems that it is failing to apply the NO_PROXY to the software.example.org, and therefore is failing. However, if I directly specify |
This is already fixed in master. |
OK, thanks. I did not see the fix. I appreciate the information! Thanks for the work with this utility! |
It was fixed in multiple PRs, most recently #9858 which I hope should be the last one for a while. |
I did this
I have environment variables
HTTPS_PROXY='http://proxy.example.org:80/'
HTTP_PROXY='http://proxy.example.org:80/'
NO_PROXY='docker,example.org,sub.example.org'
With 7.85.0, using curl from an internal site, the file is downloaded as expected.
curl -L -O https://software.example.org/certs/cert.pem
With 7.86.0, the same setup fails with:
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to software.example.org:443
If I change the 7.86.0 command to be
curl --noproxy '*' -L -O https://software.example.org/certs/cert.pem
then 7.86.0 will download the file as expected.
I also tried:
I expected the following
No change between 7.85 and 7.86 in the handling of the proxy configuration if I am not specifying a CIDR
curl/libcurl version
[curl -V output]
7.85.0:
curl 7.85.0-DEV (x86_64-pc-linux-musl) libcurl/7.85.0-DEV OpenSSL/1.1.1q zlib/1.2.12 brotli/1.0.9 libssh2/1.10.0 nghttp2/1.46.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSockets
7.86.0:
curl 7.86.0-DEV (x86_64-pc-linux-musl) libcurl/7.86.0-DEV OpenSSL/1.1.1q zlib/1.2.12 brotli/1.0.9 libssh2/1.10.0 nghttp2/1.47.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSockets
operating system
Linux 3d4ce9f982f4 3.10.0-1160.80.1.el7.x86_64 #1 SMP Sat Oct 8 18:13:21 UTC 2022 x86_64 Linux
The text was updated successfully, but these errors were encountered: