Improve error handling when server response can't be accommodated in the response object
Open
- 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.