Skip to content

Commit

Permalink
Fix bug: remove CURLOPT_NOSIGNAL to avoid crash due to SIGPIPE
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarana committed Feb 13, 2020
1 parent 24707bd commit 43ef904
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/http/http.c
Expand Up @@ -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);
Expand Down

0 comments on commit 43ef904

Please sign in to comment.