ports/ftp/curl/files/patch-lib-url.c
Sunpoet Po-Chuan Hsieh 53cd419ef4 Update to 7.62.0
Changes:	https://curl.haxx.se/changes.html
Security:	e0ab1773-07c1-46c6-9170-4c5e81c00927
MFH:		2018Q4
2018-11-01 19:13:16 +00:00

18 lines
608 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 2018-10-30 06:47:16 UTC
+++ lib/url.c
@@ -536,6 +536,10 @@ CURLcode Curl_init_userdefined(struct Cu
set->fnmatch = ZERO_NULL;
set->upkeep_interval_ms = CURL_UPKEEP_INTERVAL_DEFAULT;
set->maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */
+#if defined(__FreeBSD_version)
+ /* different handling of signals and threads */
+ set->no_signal = TRUE;
+#endif
set->httpversion =
#ifdef USE_NGHTTP2
CURL_HTTP_VERSION_2TLS