curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using multi-socket facility with epoll

From: doa379 via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 14 Oct 2018 13:25:33 +0100

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

This example works. In this example those callbacks are imperative. The
example can't work without those callbacks.

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