test: display_byte

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2023-10-15 22:08:47 +03:00
parent db0bf1d646
commit 65e3cf64c4
2 changed files with 3 additions and 0 deletions

View file

@ -209,6 +209,7 @@ impl FileInfo
{
// try then commit
println!("Done: Handshake -> {}", self.location);
println!("{:#?} ", handshake);
let size = String::from_utf8(handshake.clone()).unwrap().parse().unwrap();
handshake.push(b'\n');
self.send_exact(&handshake.as_slice(), stream);