[Spice-devel] [spice-server] dcc: Fix seamless migration

Christophe Fergeau cfergeau at redhat.com
Tue Oct 10 10:38:18 UTC 2017


On Mon, Oct 09, 2017 at 08:08:24AM -0400, Frediano Ziglio wrote:
> > @@ -1671,6 +1675,10 @@ static void
> > red_channel_client_pipe_clear(RedChannelClient *rcc)
> >  
> >  void red_channel_client_ack_zero_messages_window(RedChannelClient *rcc)
> >  {
> > +    if (red_channel_client_waiting_for_ack(rcc)) {
> > +        red_channel_client_watch_update_mask(rcc,
> > +
> > SPICE_WATCH_EVENT_READ|SPICE_WATCH_EVENT_WRITE);
> > +    }
> >      rcc->priv->ack_data.messages_window = 0;
> >  }
> >  
> 
> Looks good. I would remove the if condition.

Considered both options, I'll remove it then ;)

Christophe

> 
> Frediano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171010/581f1b97/attachment.sig>


More information about the Spice-devel mailing list