We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcaa3b3 commit 33d78abCopy full SHA for 33d78ab
src/scitokens_internal.cpp
@@ -80,6 +80,12 @@ SimpleCurlGet::GetStatus SimpleCurlGet::perform_start(const std::string &url) {
80
if (rv != CURLE_OK) {
81
throw CurlException("Failed to set CURLOPT_FOLLOWLOCATION.");
82
}
83
+ // Disable signal handling to avoid issues in multi-threaded contexts.
84
+ rv = curl_easy_setopt(m_curl.get(), CURLOPT_NOSIGNAL, 1L);
85
+ if (rv != CURLE_OK) {
86
+ throw CurlException("Failed to set CURLOPT_NOSIGNAL.");
87
+ }
88
+
89
90
auto ca_file = configurer::Configuration::get_tls_ca_file();
91
if (!ca_file.empty()) {
0 commit comments