mirror of https://github.com/telemt/telemt.git
TLS Emulator tuning
This commit is contained in:
parent
427d65627c
commit
3e4b98b002
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue