make sure the response is a handshake respone
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user