remove false comment
This commit is contained in:
parent
4ad5504004
commit
c2c31a1410
@ -362,7 +362,6 @@ impl Rejector {
|
|||||||
if let Ok((mut socket, _)) = listener.accept().await {
|
if let Ok((mut socket, _)) = listener.accept().await {
|
||||||
let packet = packet.clone();
|
let packet = packet.clone();
|
||||||
tokio::task::spawn(async move {
|
tokio::task::spawn(async move {
|
||||||
// todo: if a client is very slow this blocks the accept loop...
|
|
||||||
let (_, mut writer) = socket.split();
|
let (_, mut writer) = socket.split();
|
||||||
_ = packet.send(&mut writer).await;
|
_ = packet.send(&mut writer).await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user