Skip to content

Conversation

@paolopas
Copy link

@paolopas paolopas commented Dec 19, 2025

As I did for the LibBoostAsioHandler, I also completely rewrote the LibUvHandler, and the related test example code.

The new handler is perfectly in line with those of libboostasio and libev, in terms of implemented features and reliability. After all, those are the inspirations.

This definitely fixes #516 as the heartbeat now works, and #491 is probably fixed as well. Among the peculiar characteristics of this handler there is certainly speed. At the end, native Libuv is polling.

I'm making this version of the handler available here, along with the example test, for anyone who wants to try it out in advance or take a look inside.

@ogapo, I hope you don't mind, but your implementation was way behind the times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libuv.cpp will be disconnect every 3 minutes

1 participant