Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dnsproxy: 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. The corresponding, backportable change cilium/dns is cilium/dns#15. Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
- Loading branch information