• Yang Tse's avatar
    Fixed: When a signal was caught awaiting for an event using Curl_select() · e4b754f6
    Yang Tse authored
    or Curl_poll() with a non-zero timeout both functions would restart the
    specified timeout. This could even lead to the extreme case that if a
    signal arrived with a frecuency lower to the specified timeout neither
    function would ever exit.
    
    Added experimental symbol definition check CURL_ACKNOWLEDGE_EINTR in
    Curl_select() and Curl_poll(). When compiled with CURL_ACKNOWLEDGE_EINTR
    defined both functions will return as soon as a signal is caught. Use it
    at your own risk, all calls to these functions in the library should be
    revisited and checked before fully supporting this feature.
    e4b754f6