mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
Changes: https://curl.haxx.se/changes.html https://curl.haxx.se/docs/security.html Security: 301a01b7-d50e-11e7-ac58-b499baebfeaf MFH: 2017Q4
17 lines
655 B
C
17 lines
655 B
C
Description: Different handling of signals and threads.
|
|
Forwarded: not-needed
|
|
Author: Peter Pentchev <roam@FreeBSD.org>
|
|
Last-Update: 2010-12-18
|
|
|
|
--- lib/url.c.orig 2017-11-27 12:50:52 UTC
|
|
+++ lib/url.c
|
|
@@ -591,6 +591,9 @@ CURLcode Curl_open(struct Curl_easy **cu
|
|
data->state.current_speed = -1; /* init to negative == impossible */
|
|
data->set.fnmatch = ZERO_NULL;
|
|
data->set.maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */
|
|
+#if defined(__FreeBSD_version)
|
|
+ data->set.no_signal = TRUE; /* different handling of signals and threads */
|
|
+#endif /* __FreeBSD_version */
|
|
|
|
Curl_http2_init_state(&data->state);
|
|
}
|