notify stream refs when the connection receives EOF (#176)

This commit is contained in:
Sean McArthur
2017-11-28 13:42:22 -08:00
committed by GitHub
parent 79003d0d45
commit 2be2523162
5 changed files with 76 additions and 1 deletions

View File

@@ -277,8 +277,8 @@ where
// TODO: handle
},
None => {
// TODO: Is this correct?
trace!("codec closed");
self.streams.recv_eof();
return Ok(Async::Ready(()));
},
}