2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

Accepts as valid responses to staged requests.

Before these changes the request had to be marked as written in order to
interpret incoming responses as belonging to that request. On fast
networks however, like on localhost and underload the responses might
arrive before the write operation completed.
This commit is contained in:
Marcelo Zimbres
2023-12-16 20:56:22 +01:00
committed by Marcelo
parent 168ee6148a
commit 3861c5de74
7 changed files with 126 additions and 85 deletions

View File

@@ -676,6 +676,15 @@ https://lists.boost.org/Archives/boost/2023/01/253944.php.
## Changelog
### Boost 1.85
* Fixes [issue 170](https://github.com/boostorg/redis/issues/170).
Under load and on low-latency networks it is possible to start
receiving responses before the write operation completed and while
the request is still marked as staged and not written. This messes
up with the heuristics that classifies responses as unsolicied or
not.
### Boost 1.84 (First release in Boost)
* Deprecates the `async_receive` overload that takes a response. Users