mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
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:
parent
491e026ccd
commit
57ccdfa8d2
7 changed files with 18 additions and 15 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue