uWebSockets
uWebSockets copied to clipboard
Simple, secure & standards compliant web server for the most demanding of applications
add buffer.shrink_to_fit() to reduce memory when clear buffer.
Suggesting a CMakeLists.txt file for easily building the project. CMake also integrates well with vcpkg (inside IDE notably). This worked for me when building uWebSockets on Windows (with MSVC!). ran...
The sort method fails the "__check_strict_weak_ordering_sorted" check when adding an entry to the handler list during debug mode. https://github.com/uNetworking/uWebSockets/blob/600e7fe0faf74fb54722720a6d2e3f545d99f548/src/HttpRouter.h#L304-L317 Specifically, this abort is triggered: https://github.com/llvm/llvm-project/blob/77f8297c6fdaa62121ddb108043dcaad5c45c7ad/libcxx/include/__debug_utils/strict_weak_ordering_check.h#L49 ```cpp auto app = uWS::App();...
I pulled out the provided example inside the uWebSockets documentation which goes: ``` `#include #include #include struct UserData { // Define any data you want to associate with each WebSocket...
Update uSockets submodule to use the new version with the boost::asio::post fix.
Hi, i am trying to implement a graceful server Shutdown. Either i am doing something wrong, or there is a fundamental bug in the implementation. ASAN complains (rightfully) about a...
**Can uWebSockets-related objects be created and run in a child thread? Why does executing this->webApp = new uWS::App(); in std::thread detach mode cause an exception?** Thread-6-[ucrtbased.dll thread](17644) 0x00007ff9db8a0949us create loop(void...
Building on Alpine Linux, including `App.h` gives these errors: ``` In file included from ../subprojects/uwebsockets/src/HttpParser.h:32: ../subprojects/uwebsockets/src/ChunkedEncoding.h:32:15: error: unknown type name 'uint64_t' 32 | constexpr uint64_t STATE_HAS_SIZE = 1ull
Novice,It has been taking a long time but still doesn't work. Are there any complete examples?
I tried to create a simple HTTP server that uses `endWithoutBody` with a size argument to handle `HEAD` requests, but it crashes with the following error message: ``` Error: Returning...