timeout / locally closed for not-yet-opened stream
This commit is contained in:
parent
f298fd7d25
commit
056f880a29
@ -103,10 +103,9 @@ impl Connection {
|
||||
|
||||
match handle_incoming.await {
|
||||
Ok(()) => {}
|
||||
Err(err) if err.is_locally_closed() => {}
|
||||
Err(err) if err.is_timeout_closed() => {
|
||||
Err(err) if err.is_locally_closed() || err.is_timeout_closed() => {
|
||||
log::debug!(
|
||||
"[{id:#010x}] [{addr}] [{user}] connection timeout",
|
||||
"[{id:#010x}] [{addr}] [{user}] {err}",
|
||||
id = conn.id(),
|
||||
user = conn.auth,
|
||||
);
|
||||
@ -119,7 +118,9 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
}
|
||||
Err(err) if err.is_locally_closed() || err.is_timeout_closed() => unreachable!(),
|
||||
Err(err) if err.is_locally_closed() || err.is_timeout_closed() => {
|
||||
log::debug!("[{id:#010x}] [{addr}] [unauthenticated] {err}", id = 0);
|
||||
}
|
||||
Err(err) => {
|
||||
log::warn!(
|
||||
"[{id:#010x}] [{addr}] [unauthenticated] connection establishing error: {err}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user