aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-lib::url.c
blob: a8baee9d1dcb09dfc3953d4c354ad2e10c1298a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Different handling of signals and threads.

--- a/lib/url.c
+++ b/lib/url.c
@@ -719,6 +719,10 @@
     data->set.httpauth = CURLAUTH_BASIC;  /* defaults to basic */
     data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */
 
+#if defined(__FreeBSD_version)
+    data->set.no_signal = TRUE; /* different handling of signals and threads */
+#endif /* __FreeBSD_version */
+
     /* This no longer creates a connection cache here. It is instead made on
        the first call to curl_easy_perform() or when the handle is added to a
        multi stack. */