fix(client): EofReader by nature means the connection is closed

This commit is contained in:
Sean McArthur
2015-09-02 09:26:46 -07:00
parent b833f67780
commit 32e09a0429
3 changed files with 26 additions and 9 deletions

View File

@@ -247,6 +247,7 @@ impl HttpMessage for Http11Message {
Some(EmptyReader(..)) |
Some(SizedReader(_, 0)) |
Some(ChunkedReader(_, Some(0))) => false,
// specifically EofReader is always true
_ => true
}
}