Skip to content

Commit

Permalink
🔧 ignore sigpipe by curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Lambourl committed Jan 8, 2024
1 parent 52e2f15 commit 18e728c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xxhr/impl/session-curl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ void Session::Impl::prepareCommon() {

// Enable so we are able to retrive certificate information:
curl_easy_setopt(curl_->handle, CURLOPT_CERTINFO, 1L);
curl_easy_setopt(curl_->handle, CURLOPT_NOSIGNAL, 1L);
}

Response Session::Impl::makeRequest() {
Expand Down

0 comments on commit 18e728c

Please sign in to comment.