[cpp-sp] branch main updated: Conditionalize a newer option.
Scott Cantor
cantor.2 at osu.edu
Mon Oct 20 12:42:02 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e50005fbbb00ea6ec83290bc18e1954c10db6138
The following commit(s) were added to refs/heads/main by this push:
new e50005fb Conditionalize a newer option.
e50005fb is described below
commit e50005fbbb00ea6ec83290bc18e1954c10db6138
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 20 08:41:58 2025 -0400
Conditionalize a newer option.
---
shibsp/remoting/impl/CurlHTTPRemotingService.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
index efd4be0c..f34b1380 100644
--- a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
+++ b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
@@ -259,7 +259,9 @@ CURL* CurlHTTPRemotingService::checkout() const
SHIB_CURL_SET(CURLOPT_NOPROGRESS, 1);
SHIB_CURL_SET(CURLOPT_NOSIGNAL, 1);
SHIB_CURL_SET(CURLOPT_FAILONERROR, 1);
+#ifdef CURLOPT_PROTOCOLS_STR
SHIB_CURL_SET(CURLOPT_PROTOCOLS_STR, "http,https");
+#endif
SHIB_CURL_SET(CURLOPT_FOLLOWLOCATION, 0);
#if HAVE_DECL_CURLOPT_ACCEPT_ENCODING
SHIB_CURL_SET(CURLOPT_ACCEPT_ENCODING, "");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list