libhv icon indicating copy to clipboard operation
libhv copied to clipboard

🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT client/server.

Results 126 libhv issues
Sort by recently updated
recently updated
newest added

想请问下作者大大,有没有支持linux io_uring的计划。

We wish to use the event function of libhv to replace libevent in the openEuler community. However, during verification, we found that the signal event is missing in the event...

This PR mainly adds the signal event function to the event module of libhv. Add two interfaces hsig_add and hsig_del, also add UT test cases corresponding to the event function....

The latest release version is 3.11.2.

I compile the websocket server and client sample with the flag "-fsanitize=thread -fsanitize-recover=all", when start them, there will report any data race warning by sanitizer(https://github.com/google/sanitizers/wiki/), some likes below : ==================...

Hello, libhv is a very good open source library, recently I am learning the source code of libhv. While reading the http server code, I found a thread safety issue...

现在我正在实现一个功能,有一个异步事件循环的库[libverto](https://github.com/latchset/libverto),内部实现了libevent,libhv,glib来实现事件循环,我现在正在尝试使用libhv作为底层的事件循环库 这是libverto库中,使用libevent的接口来添加信号处理的功能的[位置](https://github.com/latchset/libverto/blob/main/src/verto-libevent.c#L141) ```C++ static verto_mod_ev * libevent_ctx_add(verto_mod_ctx *ctx, const verto_ev *ev, verto_ev_flag *flags) { struct event *priv = NULL; XXXXXX case VERTO_EV_TYPE_SIGNAL: priv = event_new(ctx, verto_get_signal(ev), EV_SIGNAL | libeventflags, libevent_callback,...

Hi, I'm using this great project in my project. Everything is perfect, but I want to disable the log from this project. I mean close all logs totally, including console...

question

测试代码如下: ``` int main() { hv::HttpService router; router.GET("/", [](const HttpRequestPtr& req, const HttpResponseWriterPtr& writer) { writer->Begin(); writer->WriteStatus(HTTP_STATUS_OK); writer->WriteHeader("Content-Type", "text/html"); writer->WriteBody("hello world"); writer->End(); }); hssl_ctx_init_param_t param; memset(&param, 0, sizeof(param)); param.crt_file =...