Server info is only retrieved once during initialization (#214)
This commit is contained in:
parent
5bbfcccfba
commit
d0bbb22850
1 changed files with 0 additions and 1 deletions
|
|
@ -111,7 +111,6 @@ pub trait ServerHandler: Sized + Send + Sync + 'static {
|
||||||
if context.peer.peer_info().is_none() {
|
if context.peer.peer_info().is_none() {
|
||||||
context.peer.set_peer_info(request);
|
context.peer.set_peer_info(request);
|
||||||
}
|
}
|
||||||
let info = self.get_info();
|
|
||||||
std::future::ready(Ok(self.get_info()))
|
std::future::ready(Ok(self.get_info()))
|
||||||
}
|
}
|
||||||
fn complete(
|
fn complete(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue