diff options
author | Eric Wong <e@80x24.org> | 2019-08-10 21:20:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-11 22:58:01 +0200 |
commit | 17d1e27d309f16da960fd3b9933e6e2b1db22b17 (patch) | |
tree | 05063dda62c56bcd72525d7a5437c0281973770a /packages/OS400/curl.inc.in | |
parent | 4a962ff2189e8bdbcd79813d67e3af0f1c465f7c (diff) |
asyn-thread: issue CURL_POLL_REMOVE before closing socket
This avoids EBADF errors from EPOLL_CTL_DEL operations in the
ephiperfifo.c example. EBADF is dangerous in multi-threaded
applications where I rely on epoll_ctl to operate on the same
epoll description from different threads.
Follow-up to eb9a604f8d7db8
Bug: https://curl.haxx.se/mail/lib-2019-08/0026.html
Closes #4211
Diffstat (limited to 'packages/OS400/curl.inc.in')
0 files changed, 0 insertions, 0 deletions