NEW 173449
[Curl] Use pipe in SocketStreamHandle rather than polling
https://bugs.webkit.org/show_bug.cgi?id=173449
Summary [Curl] Use pipe in SocketStreamHandle rather than polling
Basuke Suzuki
Reported 2017-06-15 17:16:29 PDT
Current implementation uses polling by calling ::select with a timeout. It can be better using pipe to wake up the thread when data is waiting to send.
Attachments
Fujii Hironori
Comment 1 2018-07-17 19:41:25 PDT
c++ - How to cancel waiting in select() on Windows - Stack Overflow https://stackoverflow.com/questions/3333361/how-to-cancel-waiting-in-select-on-windows
Fujii Hironori
Comment 2 2020-02-03 18:50:49 PST
libcurl 7.68.0 added curl_multi_wakeup https://curl.haxx.se/libcurl/c/curl_multi_wakeup.html
Note You need to log in before you can comment on or make changes to this bug.