diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-03-05 23:35:32 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-03-06 02:56:21 -0500 |
commit | 2258b7bcc265b5fe9bfa79ddd079f57e61557da7 (patch) | |
tree | 8cfb21a2717d8988dd85784a76f16e7e7a902c4c /CMake/OtherTests.cmake | |
parent | 0b7735c45bf36b71f5b93ef334520b3abc301aea (diff) |
multi: skip EINTR check on wakeup socket if it was closed
- Don't check errno on wakeup socket if sread returned 0 since sread
doesn't set errno in that case.
This is a follow-up to cf7760a from several days ago which fixed
Curl_multi_wait to stop busy looping sread on the non-blocking wakeup
socket if it was closed (ie sread returns 0). Due to a logic error it
was still possible to busy loop in that case if errno == EINTR.
Closes https://github.com/curl/curl/pull/5047
Diffstat (limited to 'CMake/OtherTests.cmake')
0 files changed, 0 insertions, 0 deletions