boostorg / boostorg/redis

Improve error handling when server response can't be accommodated in the response object

Open
#288 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
282
Forks
49
PR merge metrics
No merged PRs in 30d

Description

For example

```cpp
request req;
req.push("ping", "abc");
req.push("ping", "def");

response res;

co_await conn.async_exec(req, res);
```
Allowing internal adapter code is wrong, the library should communicate an error with which the async operation will complete.

Note: This touches only responses with an static size i.e. `response` and not the `generic_response`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.