Skip to content

Commit

Permalink
release v1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Mar 7, 2022
1 parent 94d4406 commit 5a7105f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/shadowsocks-service/src/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pub mod mon_stream;
pub mod utils;

/// Packet size for all UDP associations' send queue
pub const UDP_ASSOCIATION_SEND_CHANNEL_SIZE: usize = 102400;
///
/// This value is set by test result of `perf3` locally running 6.4Gbps bitrates with lost-rate lower than 0.5%
pub const UDP_ASSOCIATION_SEND_CHANNEL_SIZE: usize = 51200;

/// Keep-alive channel size for UDP associations' manager
pub const UDP_ASSOCIATION_KEEP_ALIVE_CHANNEL_SIZE: usize = 256;
pub const UDP_ASSOCIATION_KEEP_ALIVE_CHANNEL_SIZE: usize = 64;
10 changes: 10 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
shadowsocks-rust (1.14.0) unstable; urgency=medium

## Features

- Optimization: UDP associations managment removes unnecessary locks

## Breaking Changes

- `shadowsocks_service::local::net::udp::UdpAssociationManager::new` returns clean-up interval and keep-alive receiver. It is not recommended to use this directly in your Project, because the API may change occationally.

shadowsocks-rust (1.13.5) unstable; urgency=medium

## Features
Expand Down

0 comments on commit 5a7105f

Please sign in to comment.