From 57ccdfa8d2bb6275388223f4676cd623ebd01697 Mon Sep 17 00:00:00 2001 From: Zdenek Pavlas Date: Mon, 11 Mar 2013 14:57:07 +0100 Subject: curl_global_init: accept the CURL_GLOBAL_ACK_EINTR flag The flag can be used in pycurl-based applications where using the multi interface would not be acceptable because of the performance lost caused by implementing the select() loop in python. Bug: http://curl.haxx.se/bug/view.cgi?id=1168 Downstream Bug: https://bugzilla.redhat.com/919127 --- lib/easy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/easy.c') diff --git a/lib/easy.c b/lib/easy.c index 2e747bb28..2739598ef 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -262,6 +262,8 @@ CURLcode curl_global_init(long flags) } #endif + Curl_ack_eintr = flags & CURL_GLOBAL_ACK_EINTR; + init_flags = flags; /* Preset pseudo-random number sequence. */ -- cgit v1.2.3