libhv
libhv copied to clipboard
🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT client/server.
LNK2001_declspec(dllimport) public: __cdecl HttpRequest::HttpRequest(void)" (__imp_??0HttpRequest@@QEAA@XZ). __declspec(dllimport) public: virtual __cdecl HttpRequest::~HttpRequest(void)" (__imp_??1HttpRequest@@UEAA@XZ). "__declspec(dllimport) public: virtual void __cdecl HttpRequest::Reset(void)" (__imp_?Reset@HttpRequest@@UEAAXXZ). I build using mvsc visual studio.
当前的 UdpServer 是不支持多线程收发消息和负载均衡的,这对大流量的udp媒体服务器是不大合适的; 这个pr利用了SO_REUSEPORT和udp connect机制,可实现单个udp端口的多线程收发;并提供了一个与TcpServer类似的服务模型; 此外,此pr还简单实现了 IpHash 负载均衡策略;
Conan is a very popular package manager which makes it very easy to share packages. Highly recommended. https://conan.io/
How to add new lower-layer protocol supports beyond TCP/UDP? Like [https://github.com/bittorrent/libutp](https://github.com/bittorrent/libutp).
- 项目介绍见 [README.md](https://github.com/ithewei/libhv/blob/master/README.md) - 编译步骤见 [BUILD.md](https://github.com/ithewei/libhv/blob/master/BUILD.md) - 目录结构见 [TREE.md](https://github.com/ithewei/libhv/blob/master/TREE.md) - 后续规划见 [PLAN.md](https://github.com/ithewei/libhv/blob/master/docs/PLAN.md) - 接口文档见 [docs/cn](https://github.com/ithewei/libhv/tree/master/docs/cn) - 提问前请先查阅 [中文FAQ](https://github.com/ithewei/libhv/wiki/%E4%B8%AD%E6%96%87FAQ) - 中文博客教程: - QQ技术交流群:**739352073** - 提Issue或PR请尽量用英语,虽然我的英语也很烂
not forget file control and sql(mysql,pgsql,sqlite..) is block control. if you want create a great lib, you need to support file and sql.
Feature request for websocket compression extension: permessage-deflate https://datatracker.ietf.org/doc/html/rfc7692 Thank you
content-length 超过int最大值时 on_headers_complete函数中使用atoi导致int类型的中间变量溢出 对string revers一个负值,由此引申出来的问题,代码中一些结构体定义类型用size_t导致win平台下32/64位表现不一致 