ports/ftp/curl/files/patch-lib-url.c
Sunpoet Po-Chuan Hsieh fe18ac14f3 Update to 7.57.0
Changes:	https://curl.haxx.se/changes.html
		https://curl.haxx.se/docs/security.html
Security:	301a01b7-d50e-11e7-ac58-b499baebfeaf
MFH:		2017Q4
2017-12-01 23:33:50 +00:00

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);
}