notify stream send task when receiving EOF (#178)

* notify stream send task when receiving EOF

* record a conn_error on eof so client can see it

* fix stream id overflow test
This commit is contained in:
Sean McArthur
2017-12-01 15:58:04 -08:00
committed by GitHub
parent 5d54d8cd79
commit 6c68f72fbd
3 changed files with 61 additions and 1 deletions

View File

@@ -499,6 +499,7 @@ impl Recv {
pub fn recv_eof(&mut self, stream: &mut Stream) {
stream.state.recv_eof();
stream.notify_send();
stream.notify_recv();
}