Skip to content

Commit

Permalink
Merge pull request #371 from Tencent/release/v1.1.0
Browse files Browse the repository at this point in the history
Release/v1.1.0
  • Loading branch information
iyangsj committed Aug 20, 2024
2 parents 4dcec0f + d6916e1 commit 58bd7b0
Show file tree
Hide file tree
Showing 13 changed files with 367 additions and 100 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [v1.1.0] - 2024-08-20

### Added
- Buffer undecryptable Handshake and OneRtt packets during the handshake phase
- Update some comments about stream

### Fixed
- Fix the closure of the stream that was reset by the peer
- Fix the suboptimal performance in multipath transmission caused by pacing


## [v1.0.0] - 2024-08-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tquic"
version = "1.0.0"
version = "1.1.0"
edition = "2021"
rust-version = "1.70.0"
license = "Apache-2.0"
Expand Down
6 changes: 6 additions & 0 deletions include/tquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,12 @@ void quic_config_set_send_batch_size(struct quic_config_t *config, uint16_t v);
*/
void quic_config_set_zerortt_buffer_size(struct quic_config_t *config, uint16_t v);

/**
* Set the maximum number of undecryptable packets that can be stored by one connection.
* The default value is `10`. A value of 0 will be treated as default value.
*/
void quic_config_set_max_undecryptable_packets(struct quic_config_t *config, uint16_t v);

/**
* Create a new TlsConfig.
* The caller is responsible for the memory of the TlsConfig and should properly
Expand Down
2 changes: 1 addition & 1 deletion src/congestion_control/pacing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Pacer {
/// Build a pacer controller.
pub fn build_pacer_controller(conf: &RecoveryConfig) -> Self {
Pacer::new(
true,
conf.enable_pacing,
conf.initial_rtt,
conf.initial_congestion_window
.saturating_mul(conf.max_datagram_size as u64),
Expand Down
Loading

0 comments on commit 58bd7b0

Please sign in to comment.