curl / Mailing Lists / curl-library / Single Mail

curl-library

Using multi-socket facility with epoll

From: Eran Ben Horin via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 14 Oct 2018 09:42:53 +0300

Hi,

Basics:
Os: Ubuntu-18-04
Compiler: clang6
Curl version: 7.58.0
Open-ssl: 1.1
Language: c++

What am I trying:
I am writing a simple http client, and Im basing it on the multi-socket set of apis.
I am using epoll as the main reactor (event loop).
 My code is *very* similar to the example in: https://curl.haxx.se/libcurl/c/ephiperfifo.html <https://curl.haxx.se/libcurl/c/ephiperfifo.html>.

The issue:
I am not getting any of the callbacks (timer, socket change etc).

Questions:
1. Are there any know issues that are, maybe, missing in the above example?
2. Are there open bugs for the above versions of tools and systems, and this particular flow?

Thanks,
Eran

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-14