From ed7390cf21e773e978b4f2922c54864ebdc76f49 Mon Sep 17 00:00:00 2001 From: Attila Szakacs Date: Fri, 24 May 2024 10:14:31 +0200 Subject: [PATCH] http: disable signal logic in libcurl Signed-off-by: Attila Szakacs --- modules/http/http-worker.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http/http-worker.c b/modules/http/http-worker.c index 751f734c8c..25029ba381 100644 --- a/modules/http/http-worker.c +++ b/modules/http/http-worker.c @@ -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); }