This commit is contained in:
Dong Zhou 2018-07-27 18:56:21 +08:00 committed by Wei Tang
parent 77a5ce6bf3
commit 5737c21340

View File

@ -670,7 +670,7 @@ impl Host {
} }
} }
fn connection_closed(&self, token: TimerToken, io: &IoContext<NetworkIoMessage>) { fn connection_closed(&self, token: StreamToken, io: &IoContext<NetworkIoMessage>) {
trace!(target: "network", "Connection closed: {}", token); trace!(target: "network", "Connection closed: {}", token);
self.kill_connection(token, io, true); self.kill_connection(token, io, true);
} }