diff options
author | Zdenek Pavlas <zpavlas@redhat.com> | 2013-03-11 14:57:07 +0100 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2013-03-12 10:58:20 +0100 |
commit | 57ccdfa8d2bb6275388223f4676cd623ebd01697 (patch) | |
tree | 2e36708a0905d011b78582090ec063ea0fbea440 /lib/easy.c | |
parent | 491e026ccda0e60975fa6e2e9cf3ccca37e18f7b (diff) | |
download | curl-57ccdfa8d2bb6275388223f4676cd623ebd01697.tar.gz |
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
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |