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.
2 parents fcaa3b3 + 0b3181c commit eb58753Copy full SHA for eb58753
src/scitokens_internal.cpp
@@ -80,6 +80,11 @@ 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
auto ca_file = configurer::Configuration::get_tls_ca_file();
90
if (!ca_file.empty()) {
0 commit comments