From: pcarana Date: Thu, 13 Feb 2020 20:10:29 +0000 (-0600) Subject: Fix bug: remove CURLOPT_NOSIGNAL to avoid crash due to SIGPIPE X-Git-Tag: v1.2.0^0 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=43ef90417986f5671bd45c7091e4a67bbfe67d75;p=thirdparty%2FFORT-validator.git Fix bug: remove CURLOPT_NOSIGNAL to avoid crash due to SIGPIPE --- diff --git a/src/http/http.c b/src/http/http.c index 66b6d6da..a3fdcd94 100644 --- a/src/http/http.c +++ b/src/http/http.c @@ -66,7 +66,6 @@ http_easy_init(struct http_handler *handler) curl_easy_setopt(tmp, CURLOPT_LOW_SPEED_TIME, 0); curl_easy_setopt(tmp, CURLOPT_LOW_SPEED_LIMIT, 0); } - curl_easy_setopt(tmp, CURLOPT_NOSIGNAL, 1); /* Always expect HTTPS usage */ curl_easy_setopt(tmp, CURLOPT_SSL_VERIFYHOST, 2);