mirror of
https://github.com/telemt/telemt.git
synced 2026-07-22 21:50:20 +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.
|
/// Handles a bad client by forwarding it to the configured mask target.
|
||||||
|
#[cfg(test)]
|
||||||
pub async fn handle_bad_client<R, W>(
|
pub async fn handle_bad_client<R, W>(
|
||||||
reader: R,
|
reader: R,
|
||||||
writer: W,
|
writer: W,
|
||||||
|
|||||||
Reference in New Issue
Block a user