Skip to content

Commit 58bd7b0

Browse files
authored
Merge pull request #371 from Tencent/release/v1.1.0
Release/v1.1.0
2 parents 4dcec0f + d6916e1 commit 58bd7b0

File tree

13 files changed

+367
-100
lines changed

13 files changed

+367
-100
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1111
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1212

1313

14+
## [v1.1.0] - 2024-08-20
15+
16+
### Added
17+
- Buffer undecryptable Handshake and OneRtt packets during the handshake phase
18+
- Update some comments about stream
19+
20+
### Fixed
21+
- Fix the closure of the stream that was reset by the peer
22+
- Fix the suboptimal performance in multipath transmission caused by pacing
23+
24+
1425
## [v1.0.0] - 2024-08-01
1526

1627
### Added

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tquic"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
edition = "2021"
55
rust-version = "1.70.0"
66
license = "Apache-2.0"

include/tquic.h

+6
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,12 @@ void quic_config_set_send_batch_size(struct quic_config_t *config, uint16_t v);
724724
*/
725725
void quic_config_set_zerortt_buffer_size(struct quic_config_t *config, uint16_t v);
726726

727+
/**
728+
* Set the maximum number of undecryptable packets that can be stored by one connection.
729+
* The default value is `10`. A value of 0 will be treated as default value.
730+
*/
731+
void quic_config_set_max_undecryptable_packets(struct quic_config_t *config, uint16_t v);
732+
727733
/**
728734
* Create a new TlsConfig.
729735
* The caller is responsible for the memory of the TlsConfig and should properly

src/congestion_control/pacing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl Pacer {
8282
/// Build a pacer controller.
8383
pub fn build_pacer_controller(conf: &RecoveryConfig) -> Self {
8484
Pacer::new(
85-
true,
85+
conf.enable_pacing,
8686
conf.initial_rtt,
8787
conf.initial_congestion_window
8888
.saturating_mul(conf.max_datagram_size as u64),

0 commit comments

Comments
 (0)