mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:43:37 +03:00
asyn-thread: use wakeup_close to close the read descriptor
Reported-by: Dan Fandrich Ref: #12834 Closes #12836
This commit is contained in:
parent
e75a48d2c3
commit
8243ad6458
1 changed files with 1 additions and 1 deletions
|
|
@ -581,7 +581,7 @@ static void destroy_async_data(struct Curl_async *async)
|
|||
* before the FD is invalidated to avoid EBADF on EPOLL_CTL_DEL
|
||||
*/
|
||||
Curl_multi_closed(data, sock_rd);
|
||||
sclose(sock_rd);
|
||||
wakeup_close(sock_rd);
|
||||
#endif
|
||||
}
|
||||
async->tdata = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue