make sure the response is a handshake respone

This commit is contained in:
2024-05-14 09:46:51 +02:00
parent 1cf91d08f1
commit c52c1bb844

View File

@@ -110,6 +110,7 @@ fn perform_handshake() -> Result<u128> {
let end = Instant::now(); let end = Instant::now();
assert_eq!(buf[0], 2);
assert_eq!(number_of_bytes, 92); assert_eq!(number_of_bytes, 92);
Ok(end.duration_since(start).as_nanos()) Ok(end.duration_since(start).as_nanos())