mirror of https://github.com/fafhrd91/actix-web
Merge 2bbf0004fd
into 90c19a835d
This commit is contained in:
commit
e85cd06bd8
|
@ -132,8 +132,10 @@
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Avoid possibility of dispatcher getting stuck while back-pressuring I/O. [#2369]
|
- 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
|
[#2369]: https://github.com/actix/actix-web/pull/2369
|
||||||
|
[#2830]: https://github.com/actix/actix-web/pull/2830
|
||||||
|
|
||||||
## 3.2.1
|
## 3.2.1
|
||||||
|
|
||||||
|
|
|
@ -1182,7 +1182,8 @@ where
|
||||||
let state_is_none = inner_p.state.is_none();
|
let state_is_none = inner_p.state.is_none();
|
||||||
|
|
||||||
// read half is closed; we do not process any responses
|
// 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");
|
trace!("read half closed; start shutdown");
|
||||||
inner_p.flags.insert(Flags::SHUTDOWN);
|
inner_p.flags.insert(Flags::SHUTDOWN);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue