udp load test: move config to own file, clean up imports

This commit is contained in:
Joakim Frostegård 2021-11-17 01:59:31 +01:00
parent eb511c3a4c
commit fc6f3c299e
8 changed files with 129 additions and 125 deletions

View file

@ -10,6 +10,7 @@ use socket2::{Domain, Protocol, Socket, Type};
use aquatic_udp_protocol::*;
use crate::config::Config;
use crate::{common::*, handler::process_response, utils::*};
const MAX_PACKET_SIZE: usize = 4096;