udp: move ConnectionValidator to workers.socket.validator

This commit is contained in:
Joakim Frostegård 2022-07-04 08:36:02 +02:00
parent 9e06f8cce2
commit 8f37459298
5 changed files with 150 additions and 133 deletions

View file

@ -17,10 +17,10 @@ use aquatic_common::privileges::PrivilegeDropper;
use aquatic_common::PanicSentinelWatcher;
use common::{
ConnectedRequestSender, ConnectedResponseSender, ConnectionValidator, RequestWorkerIndex,
SocketWorkerIndex, State,
ConnectedRequestSender, ConnectedResponseSender, RequestWorkerIndex, SocketWorkerIndex, State,
};
use config::Config;
use workers::socket::validator::ConnectionValidator;
pub const APP_NAME: &str = "aquatic_udp: UDP BitTorrent tracker";
pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION");