1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 18:09:22 +02:00

more handler tests

This commit is contained in:
Nikolay Kim
2018-05-06 15:11:36 -07:00
parent 45325a5f75
commit c54f045b39
2 changed files with 134 additions and 1 deletions

View File

@ -350,7 +350,7 @@ where
}
}
Ok(Some(Message::Eof)) => {
if let Some(ref mut payload) = self.payload {
if let Some(ref mut payload) = self.payload.take() {
payload.feed_eof();
} else {
error!("Internal server error: unexpected eof");