userver
userver copied to clipboard
Production-ready C++ Asynchronous Framework with rich functionality
Please, pre-check Python version to prevent this error. Thank you. I have compiled using Python 3.4: File "userver/plugins/external_deps/impl/cmake_generator.py", line 81 result: dict = {} SyntaxError: invalid syntax CMake Error at...
There are some situations when a resource is accessed concurrently, but concurrency factor is limited by 2, - implications of socket r/w duality come to mind, - and `engine::Mutex` seems...
https://github.com/userver-framework/userver/blob/e37c78fb0112e7befa08ef078c4de8f0fb7de607/postgresql/src/storages/postgres/options.cpp#L23 Why this global variables are not constexpr ? Seems like std::string_view may be used here without any problems. What about unordred_map, do it constexpr may be tricky, but there...
Deadline is only checked if a socket would block and some waiting should be performed, however it's completely possible for read/write to go through without blocking. One could expect that...
First of all, thank you guys for this impressive peace of software. As stated in the title, i'm a bit concerned about the lack of **comparison** benchmarks: guess its safe...
The described bug seems to be fixed by https://github.com/boostorg/lockfree/commit/df78b9da42d7f5124a865345759d86e95ea79823, which is in 1.74 and above
Improvements: 1) added function RunEmbedded for run components and stop outside without signal ... (author @anton3332), now stop by mutex.unlock 2) added ability to build shared libraries variant (for use...
Basically, title. It happens somewhere in topology rescan routine, and internally we patch libmongoc to avoid that: https://github.com/userver-framework/userver/blob/3cdb435a57d91df88124cbfdddaac714ba07b1d6/mongo/src/storages/mongo/cdriver/wrappers.cpp#L42-L45 With recently landed https://github.com/mongodb/mongo-c-driver/pull/1442 there's now similar functionality (scoped to `mongoc_client_t` rather...
Usage example: ```c++ class CustomImplicitOptions final : public userver::server::handlers::ImplicitOptions { public: CustomImplicitOptions(const userver::components::ComponentConfig& config, const userver::components::ComponentContext& context, bool is_monitor = false) : ImplicitOptions(config, context, is_monitor) {} std::string HandleRequestThrow(const userver::server::http::HttpRequest& request,...