From c6000c9d9949b3326fb82f02431899ab6774b960 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 16 Dec 2012 11:51:24 +0100 Subject: big cleanup --- cower/set_curlopt_nosignal.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 cower/set_curlopt_nosignal.patch (limited to 'cower/set_curlopt_nosignal.patch') diff --git a/cower/set_curlopt_nosignal.patch b/cower/set_curlopt_nosignal.patch deleted file mode 100644 index 76d7456..0000000 --- a/cower/set_curlopt_nosignal.patch +++ /dev/null @@ -1,22 +0,0 @@ -commit 9d7537ef064a23ed57551aa04283c398fc8d07f1 -Author: Dave Reisner -Date: Thu Dec 30 20:14:36 2010 -0500 - - set CURLOPT_NOSIGNAL on all curl handles - - As per curl_easy_setopt(3), this is particularly crucial of multi - threaded apps (hey that's us) which use timeouts to avoid sending them - signals and behaving badly (e.g. causing segfaults). - -diff --git a/cower.c b/cower.c -index 7ba747c..23ff9bc 100644 ---- a/cower.c -+++ b/cower.c -@@ -585,6 +585,7 @@ CURL *curl_create_easy_handle() { - - curl_easy_setopt(handle, CURLOPT_USERAGENT, COWER_USERAGENT); - curl_easy_setopt(handle, CURLOPT_CONNECTTIMEOUT, 10L); -+ curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1L); - curl_easy_setopt(handle, CURLOPT_ENCODING, "deflate, gzip"); - - return(handle); -- cgit v1.2.3-24-g4f1b