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

Not a problem, but may be better change `unsigned char block[64]` to `unsigned char *block` ``` In function 'HV_MD5Update', inlined from 'HV_MD5Final' at libhv/util/md5.c:86:5: libhv/util/md5.c:69:13: warning: 'HV_MD5Transform' accessing 64 bytes...

libuv通过命名管道、unix套接字实现了跨平台的进程间通信机制,如果libhv也能支持就好了 https://docs.libuv.org/en/v1.x/pipe.html

I add a member to kcp_setting_t so that it can allow recv larger package in kcp session. I wonder whether it's reasonable or not, or larger package will rersult in...

I found kcp service will get unavailable when large packet comes, so I think it's neccessary to drop it so that the next packet can be handled, and service keep...

root@nle-desktop:/usr/local/disk/record# curl -v http://127.0.0.1:18081/snapshot/34020000000001231452_34020000001180000221_0.jpg * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 18081 (#0) > GET /snapshot/34020000000001231452_34020000001180000221_0.jpg HTTP/1.1 > Host: 127.0.0.1:18081 > User-Agent: curl/7.58.0 > Accept:...

Improvements to the build system: 1. The configure/makefile does not support the `--disable-shared` option. 2. The names of the static libraries generated by configure/makefile and CMake are inconsistent. 3. Some...

现在发现一个问题使用http的 `int http_client_send(HttpRequest* req, HttpResponse* resp); `接口时并且在完全无网络的情况下connect_timeout 设置3秒 timeout 设置 5s 但是超时返回差不多需要40秒我在安卓系统上做的测试

hconfig.h由cmake自动生成,而且已经加入到.gitignore中;因此原始文件应该删除; 遇到的问题场景为:git submodule把libhv作为子仓库,每次参与编译hconfig.h都会干扰git提交内容

evpp\Channel.h 中的 onread或onwrite 回调参数使用的 Buffer buf(data, readbytes) 方式传递到 UDP服务或其他服务的onMessage回调处理中时,如果使用参数 Buffer* buf 的 copy,resize 等方法会导致后续运行过程因 hv_realloc 引发冲突崩溃,建议补充相关 const约束 或 文档注意说明 防止误导可以调用从而产生潜在崩溃隐患。

遇到HttpServer loop_thread 中的日志 EventLoop started消息 和 EventLoop stopped消息 日志文件意外分离,经过排查发现原因如下 hlog_set_file或hlog_set_xxxx各种设置后,在httpserver多线程或自己的业务线程运行时,外部执行 -s stop 或 -s restart 触发 signal_handler 或其他形式的原因只要调用 exit 就会触发 atexit 的 hv_destroy_default_logger销毁,此时其他工作线程使用的logger被重置导致开头的hlog_set_各类设置失效。 我发现其他人也遇到过类似现象 https://github.com/ithewei/libhv/issues/171