1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00
This commit is contained in:
simorex80 2024-04-22 14:39:16 +02:00 committed by GitHub
commit e2e56108ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -98,8 +98,10 @@
### Fixed
- Avoid possibility of dispatcher getting stuck while back-pressuring I/O. [#2369]
- Fix pending stream drop [#2830]
[#2369]: https://github.com/actix/actix-web/pull/2369
[#2830]: https://github.com/actix/actix-web/pull/2830
## 3.2.1

View file

@ -1182,7 +1182,8 @@ where
let state_is_none = inner_p.state.is_none();
// read half is closed; we do not process any responses
if inner_p.flags.contains(Flags::READ_DISCONNECT) && state_is_none {
// fix https://github.com/actix/actix-web/issues/1313
if inner_p.flags.contains(Flags::READ_DISCONNECT) {
trace!("read half closed; start shutdown");
inner_p.flags.insert(Flags::SHUTDOWN);
}