mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +00:00
server/red_channel: workaround for fast client disconnect bug (TODO - real fix)
This commit is contained in:
parent
6be2c77dd9
commit
cd2c87da3e
@ -581,6 +581,11 @@ void red_channel_client_push(RedChannelClient *rcc)
|
||||
red_channel_client_send(rcc);
|
||||
}
|
||||
|
||||
if (rcc->send_data.item && !rcc->send_data.blocked) {
|
||||
rcc->send_data.blocked = TRUE;
|
||||
red_printf("ERROR: an item waiting to be sent and not blocked");
|
||||
}
|
||||
|
||||
while ((pipe_item = red_channel_client_pipe_item_get(rcc))) {
|
||||
red_channel_client_send_item(rcc, pipe_item);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user