fix(server): fix broken keep-alive in Server

Closes #1134
This commit is contained in:
Sean McArthur
2017-04-12 17:03:52 -07:00
parent f05a58a1b2
commit 0473d90a85
2 changed files with 73 additions and 3 deletions

View File

@@ -610,6 +610,9 @@ impl<B, K: KeepAlive> State<B, K> {
}
fn busy(&mut self) {
if let KA::Disabled = self.keep_alive.status() {
return;
}
self.keep_alive.busy();
}