diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d753cf..8ecb0fc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.3.6 + +### Bug Fix +- Fix random open stream fail(#298) +- yamux session flush must once a loop(#296) +- Fix config doesnt use(#300 #302) + +### Features +- Perf yamux and secio(#295) +- Avoiding double loops(#294) + ## 0.3.5 ### Bug Fix diff --git a/secio/Cargo.toml b/secio/Cargo.toml index efe30339..d9951e0d 100644 --- a/secio/Cargo.toml +++ b/secio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tentacle-secio" -version = "0.4.4" +version = "0.4.5" license = "MIT" description = "Secio encryption protocol for p2p" authors = ["piaoliu ", "Nervos Core Dev "] diff --git a/tentacle/Cargo.toml b/tentacle/Cargo.toml index 5bed2bfa..48432ee8 100644 --- a/tentacle/Cargo.toml +++ b/tentacle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tentacle" -version = "0.3.5" +version = "0.3.6" license = "MIT" description = "Minimal implementation for a multiplexed p2p network framework." authors = ["piaoliu ", "Nervos Core Dev "] @@ -16,8 +16,8 @@ all-features = false no-default-features = true [dependencies] -yamux = { path = "../yamux", version = "0.2.10", default-features = false, package = "tokio-yamux"} -secio = { path = "../secio", version = "0.4.4", package = "tentacle-secio" } +yamux = { path = "../yamux", version = "0.2.11", default-features = false, package = "tokio-yamux"} +secio = { path = "../secio", version = "0.4.5", package = "tentacle-secio" } futures = { version = "0.3.0" } tokio = { version = "0.2.0" } diff --git a/yamux/Cargo.toml b/yamux/Cargo.toml index f3852a61..1f875044 100644 --- a/yamux/Cargo.toml +++ b/yamux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-yamux" -version = "0.2.10" +version = "0.2.11" license = "MIT" repository = "https://github.com/nervosnetwork/tentacle" description = "Rust implementation of Yamux" diff --git a/yamux/src/stream.rs b/yamux/src/stream.rs index e196b106..5c007198 100644 --- a/yamux/src/stream.rs +++ b/yamux/src/stream.rs @@ -354,7 +354,7 @@ impl AsyncRead for StreamHandle { let n = ::std::cmp::min(buf.len(), self.read_buf.len()); trace!( - "stream-hanlde({}) poll_read self.read_buf.len={}, buf.len={}, n={}", + "stream-handle({}) poll_read self.read_buf.len={}, buf.len={}, n={}", self.id, self.read_buf.len(), buf.len(),