mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
server: use a warning when disconnecting unresponsive client
The debug level is not visible by default, since it is an unsolicited server behaviour, make it a warning.
This commit is contained in:
parent
719764f7ad
commit
8904dfc768
@ -824,8 +824,8 @@ static void red_channel_client_connectivity_timer(void *opaque)
|
||||
rcc->connectivity_monitor.timeout);
|
||||
} else {
|
||||
monitor->state = CONNECTIVITY_STATE_DISCONNECTED;
|
||||
spice_debug("rcc %p has not been responsive for more than %u ms, disconnecting",
|
||||
rcc, monitor->timeout);
|
||||
spice_warning("rcc %p on channel %d:%d has been unresponsive for more than %u ms, disconnecting",
|
||||
rcc, rcc->channel->type, rcc->channel->id, monitor->timeout);
|
||||
red_channel_client_disconnect(rcc);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user