[Spice-commits] server/red_channel.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Fri May 16 10:21:21 PDT 2014
server/red_channel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8904dfc7680e548210e1c1bbafb0c30769efeb3a
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date: Thu May 15 13:39:13 2014 +0200
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.
diff --git a/server/red_channel.c b/server/red_channel.c
index 4f85365..5904381 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -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);
}
}
More information about the Spice-commits
mailing list