diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index dc0a027303a..c4a7322485c 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -2,6 +2,9 @@ ## Unreleased +### Fixed +- Fix bug which prevents end-users from discovering when the remote peer has closed its side of the TCP connection. + ## 3.11.0 - Update `brotli` dependency to `8`. diff --git a/actix-http/src/h1/payload.rs b/actix-http/src/h1/payload.rs index 2ad3a14a3fd..c473800c02f 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]