Add a TODO for inbound error handling cleanup
This commit is contained in:
parent
134a5e78bd
commit
983e94f9e4
|
|
@ -873,6 +873,7 @@ where
|
||||||
|
|
||||||
if self.svc.ready_and().await.is_err() {
|
if self.svc.ready_and().await.is_err() {
|
||||||
// Treat all service readiness errors as Overloaded
|
// Treat all service readiness errors as Overloaded
|
||||||
|
// TODO: treat `TryRecvError::Closed` in `Inbound::poll_ready` as a fatal error (#1655)
|
||||||
self.fail_with(PeerError::Overloaded);
|
self.fail_with(PeerError::Overloaded);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue