Skip to content

Commit

Permalink
Merge pull request #123 from alltilla/http-nosignal
Browse files Browse the repository at this point in the history
http: disable signal logic in libcurl
  • Loading branch information
MrAnno authored May 24, 2024
2 parents a7b1b24 + ed7390c commit 02486f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/http/http-worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ _setup_static_options_in_curl(HTTPDestinationWorker *self)
curl_easy_setopt(self->curl, CURLOPT_CUSTOMREQUEST, "PUT");

curl_easy_setopt(self->curl, CURLOPT_ACCEPT_ENCODING, owner->accept_encoding->str);

curl_easy_setopt(self->curl, CURLOPT_NOSIGNAL, 1L);
}


Expand Down

0 comments on commit 02486f3

Please sign in to comment.