From f5bc2a5f0dd7899c90d899ced0770d67d0add053 Mon Sep 17 00:00:00 2001 From: Nova Date: Fri, 7 Jan 2022 14:15:09 +0000 Subject: [PATCH] Fix crash on network activity (#824) Ignoring broken pipes led to libcurl crashing when connections were dropped, rather than re-attempting. Now, libcurl is not set to ignore broken pipes. Closes #823. --- src/client/http/Request.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/http/Request.cpp b/src/client/http/Request.cpp index 8912e24ce..9a197f699 100644 --- a/src/client/http/Request.cpp +++ b/src/client/http/Request.cpp @@ -230,7 +230,6 @@ namespace http curl_easy_setopt(easy, CURLOPT_PRIVATE, (void *)this); curl_easy_setopt(easy, CURLOPT_USERAGENT, user_agent.c_str()); - curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt(easy, CURLOPT_WRITEDATA, (void *)this); curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, Request::WriteDataHandler);