feat: enable tcp no delay option
This commit is contained in:
parent
6d1b735a0b
commit
0da047110f
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ pub fn padding_oracle(args: &Value) -> Result<Vec<u8>> {
|
|||
|
||||
for chunk in &cipher_chunks {
|
||||
let mut stream = TcpStream::connect(format!("{}:{}", hostname, port))?;
|
||||
stream.set_nodelay(true).expect("Error on no delay");
|
||||
stream.set_nonblocking(false)?;
|
||||
|
||||
// Track value sent to server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue