Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## tentacle 0.7.1

### Bug Fix
- fix listen drop with upgrade mode(#413)

### Features
- Add onion_timeout to ServiceConfig(#410)
- Add redact_auth_from_url for for safe credential-free display(#414)

## yamux 0.3.15

### Bug Fix
Expand Down
2 changes: 1 addition & 1 deletion tentacle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tentacle"
version = "0.7.0"
version = "0.7.1"
license = "MIT"
description = "Minimal implementation for a multiplexed p2p network framework."
authors = ["piaoliu <driftluo@foxmail.com>", "Nervos Core Dev <dev@nervos.org>"]
Expand Down
2 changes: 2 additions & 0 deletions tentacle/src/service/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ impl Default for SessionConfig {
}

/// This enum's purpose is to let socket_transformer know how the socket is created
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub enum SocketState {
/// listen
Listen,
Expand All @@ -110,6 +111,7 @@ pub enum SocketState {
}

/// in socket_transformer
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub struct TransformerContext {
/// dial or listen
pub state: SocketState,
Expand Down