TLS Emulator tuning

This commit is contained in:
Alexey 2026-02-23 05:23:28 +03:00
parent 427d65627c
commit 3e4b98b002
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ mod tests {
); );
let payload = first_app_data_payload(&response); let payload = first_app_data_payload(&response);
assert_eq!(payload.len(), 64); assert!(payload.len() >= 64);
assert_eq!(payload[payload.len() - 17], 0x16); assert_eq!(payload[payload.len() - 17], 0x16);
} }
} }

View File

@ -1,7 +1,7 @@
use std::sync::Arc; use std::sync::Arc;
use std::time::Duration; use std::time::Duration;
use anyhow::{Context, Result, anyhow}; use anyhow::{Result, anyhow};
use tokio::io::{AsyncReadExt, AsyncWriteExt}; use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::net::TcpStream; use tokio::net::TcpStream;
use tokio::time::timeout; use tokio::time::timeout;