1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

Do not block on sink drop for FramedTransport

This commit is contained in:
Nikolay Kim
2019-06-26 15:20:07 +06:00
parent 205cac82ce
commit 27baf03f64
4 changed files with 35 additions and 33 deletions

View File

@ -1,6 +1,13 @@
# Changes
##[0.4.1] - 2019-05-15
## [0.4.2] - 2019-06-26
### Fixed
* Do not block on sink drop for FramedTransport
## [0.4.1] - 2019-05-15
### Changed

View File

@ -1,6 +1,6 @@
[package]
name = "actix-utils"
version = "0.4.1"
version = "0.4.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix utils - various actix net related services"
keywords = ["network", "framework", "async", "futures"]
@ -18,8 +18,8 @@ name = "actix_utils"
path = "src/lib.rs"
[dependencies]
actix-service = "0.4.0"
actix-codec = "0.1.1"
actix-service = "0.4.1"
actix-codec = "0.1.2"
bytes = "0.4"
either = "1.5.2"
futures = "0.1.25"

View File

@ -187,10 +187,12 @@ where
return true;
}
Ok(Async::Ready(None)) => {
rx_done = true;
let _ = self.rx.take();
}
Ok(Async::NotReady) => rx_done = true,
Err(_e) => {
rx_done = true;
let _ = self.rx.take();
}
}