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
This commit is contained in:
Zdenek Pavlas 2013-03-11 14:57:07 +01:00 committed by Kamil Dudka
parent 491e026ccd
commit 57ccdfa8d2
7 changed files with 18 additions and 15 deletions

View file

@ -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. */