forked from redis-rs/redis-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't loop forever on shutdown of the multiplexed connection
The async decoder would return unexpected end of input errors forever instead of `None` to indicate that the stream was done. Since the `MultiplexedConnection` would just drop these errors if there was no in_flight requests, ending up in an infinite loop inside `poll_read` on shutdown. cc redis-rs#488
- Loading branch information
Markus Westerlind
committed
Jun 16, 2021
1 parent
0e08189
commit ddecce9
Showing
2 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters