diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index 982add26..d4b91951 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -5,6 +5,7 @@ ### Added - Add `header::CLEAR_SITE_DATA` constant. +- Fix bug which prevents end-users from discovering when the remote peer has closed its side of the TCP connection. ### Changed diff --git a/actix-http/src/h1/payload.rs b/actix-http/src/h1/payload.rs index 2ad3a14a..c473800c 100644 --- a/actix-http/src/h1/payload.rs +++ b/actix-http/src/h1/payload.rs @@ -205,6 +205,7 @@ impl Inner { #[inline] fn feed_eof(&mut self) { self.eof = true; + self.wake(); } #[inline]