CppServer
CppServer copied to clipboard
Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
I would like to run two `SSLServer` instances (IPv4 and IPv6) in parallel. My first plan was to start both in the same thread and run them with the same...
The README says that on Windows with minGW, i need to run the mingw.bat. But I do not see such a batch file. Am I missing something or the documentation...
As this has no visual studio project in it. I created a new project and created the example file. I included the directories of the dependency headers. But I am...
Hi, I'm having an issue with the HTTP client. I've built the HTTP server and HTTP client examples, and while the server seems to work perfectly, using curl to test...
`CppServer::Asio::Timer::Cancel` method must be called from its `io_context`, otherwise there is a data race. https://www.boost.org/doc/libs/1_75_0/doc/html/boost_asio/reference/system_timer.html#boost_asio.reference.system_timer.thread_safety Or mark `CppServer::Asio::Timer` as not thread-safe. P.S. I highly recommend to test all of your...
`_server->_bytes_sent += sent;` and `_server->_bytes_received += received;` could be called from different sockets on different threads.
Testing an app built by clang with thread sanitizer showed a data race in `ssl_client.cpp`: Imagine that while receiving data, an error occurs, it causes calling `Disconnect`, that causes calling...
I am interested to run this below example. https://github.com/chronoxor/CppServer/blob/master/examples/http_client.cpp How to compile and run, it. Can anyone give me the command lines example.
How to test the latency of HTTP rest apis? What is the latency of HTTP REST APIS, in case any one have calculated?