userver
userver copied to clipboard
Production-ready C++ Asynchronous Framework with rich functionality
Userver actively uses boost::pfr, which allows one to access an aggregate field by index, get total number of fields in an aggregate and a lot of other very handy things...
Parsing depth should be limited to some sane value, e.g. 128. Too big value may lead to a recursive call to rapidjson which might lead to stack overflow. Internal ticket:...
For Issue #410. Passed userver-core-unittest.
Add LRU caches for Multi Index Map as in Boost Multi Index but with LRU
The feature is already stable enough. DP should be configured via global USERVER_DEADLINE_PROPAGATION_ENABLED. Internal ticket: 7864
I can't stop grpc server implemented in userver because of the active client stream call. Example of Grpc method handler: ``` void SomeService::SomeMethod(SomeMethodCall& call) { SomeRequest request; while (call.Read(request))
If a service is restarted slower than in 15 seconds, other instances cut out all the connections. This may lead to unneeded connection rebalancing and even some runtime errors. We...
RFC: https://www.rfc-editor.org/rfc/rfc7231#section-7.1.3 'Retry-After', exponential back-off and timeouts should work well together in RequestState::on_retry https://github.com/userver-framework/userver/blob/3d6530feffe23b567389dc6c5607e2c3936f5192/core/src/clients/http/request_state.cpp#L418
Occasionally there is a need to encode/decode mutiple stings into one. Right now we concatenate strings for that. We need an interface that avoid concatenation. First of all `crypto::HmacShaVerifier::Verify` and...
Make the https://github.com/userver-framework/realmedium_sample shorter, simpler or faster Any improvements are welcome!