]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_PROXY.3: curl+NSS does not handle HTTPS over unix domain socket
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Mar 2023 09:35:24 +0000 (10:35 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Mar 2023 16:50:20 +0000 (17:50 +0100)
It results in error "NSS error -5985 (PR_ADDRESS_NOT_SUPPORTED_ERROR)"

Disabled test 1470 for NSS builds and documented the restriction.

Reported-by: Dan Fandrich
Fixes #10723
Closes #10734

docs/libcurl/opts/CURLOPT_PROXY.3
tests/data/test1470

index 3ebcc6145897b75a3e2c44027ff25539e1f6f88c..22ec86d0c9206d115de62065c74c5130867a094b 100644 (file)
@@ -118,6 +118,9 @@ Since 7.21.7 the proxy string supports the socks protocols as "schemes".
 
 Since 7.50.2, unsupported schemes in proxy strings cause libcurl to return
 error.
+
+curl built to use NSS cannot connect to a HTTPS server over a unix domain
+socket.
 .SH RETURN VALUE
 Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or
 CURLE_OUT_OF_MEMORY if there was insufficient heap space.
index dec99543fb341c4a1e030656db7005039f45e2a4..7807a3dce801ee224f2c2c0ed75ec78d1a298260 100644 (file)
@@ -34,6 +34,7 @@ Funny-head: yesyes
 <features>
 proxy
 unix-sockets
+!NSS
 </features>
 <server>
 https