mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
server: ignore SPICE_MSGC_MAIN_AGENT_START messages when there is no agent
This can happen for example when a SPICE_MSGC_MAIN_AGENT_START message from the client and the vdagent disconnecting race.
This commit is contained in:
parent
e472bc7d5a
commit
00a03b7633
@ -1013,6 +1013,9 @@ void reds_fill_channels(SpiceMsgChannels *channels_info)
|
||||
|
||||
void reds_on_main_agent_start()
|
||||
{
|
||||
if (!vdagent) {
|
||||
return;
|
||||
}
|
||||
reds->agent_state.write_filter.discard_all = FALSE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user