Re: [Spice-devel] [spice-gtk v2 1/2] channel-port: set port closed on channel-reset

2017-08-10 Thread Marc-André Lureau
Hi - Original Message - > From: Victor Toso > > The channel can be reset after disabling the shared-folder. If we had > pending read, we should cancel it using the GCancellable for the > demuxing code on vmcstream.c (c->cancellable) and per client operation > (client->cancellable) which

[Spice-devel] [spice-gtk v2 1/2] channel-port: set port closed on channel-reset

2017-08-02 Thread Victor Toso
From: Victor Toso The channel can be reset after disabling the shared-folder. If we had pending read, we should cancel it using the GCancellable for the demuxing code on vmcstream.c (c->cancellable) and per client operation (client->cancellable) which is done on client_remove_unref() called by g_