1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 04:00:41 -04:00
ports/ftp/curl/files/patch-lib-url.c
Sunpoet Po-Chuan Hsieh 8959621de9 Update to 7.54.0
Changes:	https://curl.haxx.se/changes.html
Security:	3e2e9b44-25ce-11e7-a175-939b30e0836d
MFH:		2017Q2
2017-04-20 14:25:30 +00:00

17 lines
643 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-04-18 06:36:20 UTC
+++ lib/url.c
@@ -671,6 +671,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);
}