mirror of
https://github.com/telemt/telemt.git
synced 2026-07-21 05:00:19 +03:00
Cfg Test for handle_bad_client
This commit is contained in:
@@ -959,6 +959,7 @@ fn configure_mask_backend_socket(stream: &TcpStream) {
|
||||
}
|
||||
|
||||
/// Handles a bad client by forwarding it to the configured mask target.
|
||||
#[cfg(test)]
|
||||
pub async fn handle_bad_client<R, W>(
|
||||
reader: R,
|
||||
writer: W,
|
||||
|
||||
Reference in New Issue
Block a user