curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: [PATCH] asyn-thread: issue CURL_POLL_REMOVE before closing socket

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 11 Aug 2019 00:42:41 +0200 (CEST)

On Sat, 10 Aug 2019, Eric Wong via curl-library wrote:

> 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.

Thanks, I made it into a pull-request:

   https://github.com/curl/curl/pull/4211

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-08-11