Skip to content

Commit

Permalink
ci-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Oct 28, 2024
1 parent 1d9843d commit 4364be4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/include/kvikio/shim/libcurl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ class CurlHandle {
private:
char _errbuf[CURL_ERROR_SIZE];
LibCurl::UniqueHandlePtr _handle;
std::string const _source_file;
std::string const _source_line;
std::string _source_file;
std::string _source_line;

public:
/**
Expand All @@ -159,6 +159,8 @@ class CurlHandle {
CurlHandle(LibCurl::UniqueHandlePtr handle, char const* source_file, std::string source_line)
: _handle{std::move(handle)}, _source_file(source_file), _source_line(std::move(source_line))
{
_source_file.erase(_source_file.find_last_not_of('\0') + 1);

// Need CURLOPT_NOSIGNAL to support threading, see
// <https://curl.se/libcurl/c/CURLOPT_NOSIGNAL.html>
setopt(CURLOPT_NOSIGNAL, 1L);
Expand Down

0 comments on commit 4364be4

Please sign in to comment.