Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shared_client: fix fail-safe mechanism
If a shared client exchange fell into the fail-safe timeout of one minute, but the handler loop (due to either an error, closing or a _very_ delayed response) would write to the now reader-less channel, it would block all future progress of this shared client. Prevent that from happening by buffering the channel for the one message it will receive. Fixes: 4e6b438 (shared client: add fail-safe mechanism for stuck requests.) Signed-off-by: David Bimmler <[email protected]>
- Loading branch information