Skip to content

Commit

Permalink
Merge pull request #304 from nervosnetwork/bump-to-0.3.6
Browse files Browse the repository at this point in the history
chore: bump to 0.3.6
  • Loading branch information
driftluo authored Jan 24, 2021
2 parents bcef2fa + a0d453c commit 5cf596f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion secio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Nervos Core Dev <[email protected]>"]
Expand Down
6 changes: 3 additions & 3 deletions tentacle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Nervos Core Dev <[email protected]>"]
Expand All @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion yamux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion yamux/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5cf596f

Please sign in to comment.