[cpp-sp] branch main updated: CPPSP-38 - Remoting needs to expose option to limit use of IPv6

Codeberg noreply at shibboleth.net
Tue Dec 9 14:31:46 UTC 2025


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/7ff66cd5b0db54f16d20a8aef28ea4f486485b32

The following commit(s) were added to refs/heads/main by this push:
     new 7ff66cd5 CPPSP-38 - Remoting needs to expose option to limit use of IPv6
7ff66cd5 is described below

commit 7ff66cd5b0db54f16d20a8aef28ea4f486485b32
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Dec 9 09:31:22 2025 -0500

    CPPSP-38 - Remoting needs to expose option to limit use of IPv6
    
    https://shibboleth.atlassian.net/browse/CPPSP-38
    
    Wrong CURLOPT constant.
---
 shibsp/remoting/impl/CurlHTTPRemotingService.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
index 15c6438b..2e5168ee 100644
--- a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
+++ b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
@@ -291,10 +291,10 @@ CURL* CurlHTTPRemotingService::checkout() const
 
     // One of these has to be enabled. Default is for both.
     if (!isEnableIP6()) {
-        SHIB_CURL_SET(CURLOPT_RESOLVE, CURL_IPRESOLVE_V4);
+        SHIB_CURL_SET(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
     }
     else if (!isEnableIP4()) {
-        SHIB_CURL_SET(CURLOPT_RESOLVE, CURL_IPRESOLVE_V6);
+        SHIB_CURL_SET(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);
     }
 
     long flag=0;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list