Skip to content

Commit

Permalink
test_server_mtu_reduction: fix test; opt in to half rtt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Feb 5, 2022
1 parent 184b509 commit f9a3d42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustls/tests/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3687,6 +3687,7 @@ fn test_client_mtu_reduction() {
fn test_server_mtu_reduction() {
let mut server_config = make_server_config(KeyType::Rsa);
server_config.max_fragment_size = Some(64);
server_config.send_half_rtt_data = true;
let (mut client, mut server) =
make_pair_for_configs(make_client_config(KeyType::Rsa), server_config);

Expand Down

0 comments on commit f9a3d42

Please sign in to comment.