userver
userver copied to clipboard
Production-ready C++ Asynchronous Framework with rich functionality

Minimal reproducer: ```cpp thread_local int x{}; ++x; engine::Yield(); ++x; ``` Let's say that after the context switch, the task is scheduled on another thread. It's expected then that after `Yield`,...
It complains ``` [cmake] [cmake] CMake Error at build/_deps/userver-src/third_party/boost_stacktrace/CMakeLists.txt:43 (message): [cmake] Failed to find . Use -DUSERVER_FEATURE_STACKTRACE=0 or [cmake] install the required packages (for Ubuntu: build-essential or [cmake] libgcc-*-dev). [cmake]...
Example ```cpp #include #include #include #include struct SomeStruct { std::optional field; std::string field2; }; template inline constexpr auto userver::formats::universal::kSerialization = SerializationConfig() .With({.Maximum = 1221, .Minimum = 12, .Default = 124})...
My python client uses `WebSocketClientProtocol`. And if the client calls `close()`, then it will hang for 30 seconds (timeout) and only then finishes closing, even though my server calls `WebSocketConnection::Close()`....
Implement a `tracing::ScopeTag` for `tracing::Span`. The `tracing::ScopeTag` should add a tag to the current span for the lifetime of the `tracing::ScopeTag`. Add tests for the feature. Internal ticket: 5164
https://t.me/vfarme > Basically I have a monorepo with a structure like > > ``` > - service_1 > - service_2 > - service_3 > - third_party > - userver >...
Closes: #450