trantor
trantor copied to clipboard
a non-blocking I/O tcp network lib based on c++14/17
内置一些常见的解包方式,目前先添加分隔符,定长报文
I’m using Drogon’s HttpClient but figured it would make more sense to put this here: - Using v1.9.1 of Drogon and v1.5.15 of Trantor. - It’s in an AWS environment...
When a HTTPs response with a large content body is sent, then not all bytes will be transferred and the connection will hang indefinitely until it reaches a timeout. Example...
See the result in VS 2022 ![image](https://github.com/an-tao/trantor/assets/8808496/2f5a9b6d-ec07-494e-be2c-c577115f39d4) ``` D:\DownLoads\trantor-master\trantor\unittests\HashUnittest.cc(12): error: Expected equality of these values: toHexString(md5("hello")) Which is: "604E0000FE2E00005D600000D5D70000" "5D41402ABC4B2A76B9719D911017C592" D:\DownLoads\trantor-master\trantor\unittests\HashUnittest.cc(13): error: Expected equality of these values: toHexString(md5("trantor")) Which is:...
# Description Hi, would be nice as user point of view, to have the **socket** options already created, and also, let the user define if needed. So instead of him,...
``` % ./build.sh Deleted folder: ./build Created building folder: ./build Entering folder: ./build Start building trantor ... -- The C compiler identification is Clang 16.0.6 -- The CXX compiler identification...
# Envirmorment Centos7 cmake version 3.27.3 gcc version 13.2.0 (GCC) I want to build drogon in linux_x86-64 I have execute cmake .. , ```bash -- The C compiler identification is...
Related to this drogon [issue](https://github.com/drogonframework/drogon/issues/1744), after some debugging it appears to occur on [TcpConnectionImpl.cc:427](https://github.com/an-tao/trantor/blob/master/trantor/net/inner/TcpConnectionImpl.cc#L427) and [Socket.cc:110](https://github.com/an-tao/trantor/blob/master/trantor/net/inner/Socket.cc#L110) Opening and closing connections multiple times within 20 second intervals is the cause.