Remove outdated comment
Now that the `PeerConnector` handles both incoming and outgoing handshakes, determining the next peer address is definitely out of scope -- it takes a pre-existing tcp connection.
This commit is contained in:
parent
31651cf87c
commit
ed335e68f4
|
@ -69,8 +69,6 @@ where
|
||||||
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>>>>;
|
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>>>>;
|
||||||
|
|
||||||
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
|
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
|
||||||
// XXX when this asks a second service for
|
|
||||||
// an address to connect to, it should call inner.ready
|
|
||||||
Poll::Ready(Ok(()))
|
Poll::Ready(Ok(()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue