mirror of
https://github.com/telemt/telemt.git
synced 2026-05-22 19:51:43 +03:00
TLS Emulator tuning
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user