WIP: cleanup aquatic_http_load_test and aquatic_http_protocol

This commit is contained in:
Joakim Frostegård 2020-07-20 14:48:19 +02:00
parent d1e9d24773
commit da3b2bcd8c
10 changed files with 232 additions and 410 deletions

View file

@ -9,7 +9,7 @@ use super::response::ResponsePeer;
pub fn urlencode_20_bytes(input: [u8; 20]) -> Vec<u8> {
let mut tmp = [0u8; 40];
hex::encode_to_slice(&input, &mut tmp);
hex::encode_to_slice(&input, &mut tmp).unwrap();
let mut output = Vec::with_capacity(60);