Re: [Spice-devel] [spice-gtk v1 1/2] channel-webdav: implement channel-reset

2017-08-02 Thread Victor Toso
Hi, Thanks for the quick review! On Tue, Aug 01, 2017 at 09:37:04AM -0400, Marc-André Lureau wrote: > > > - 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 GCancellab

Re: [Spice-devel] [spice-gtk v1 1/2] channel-webdav: implement channel-reset

2017-08-01 Thread Marc-André Lureau
- 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 is

[Spice-devel] [spice-gtk v1 1/2] channel-webdav: implement channel-reset

2017-08-01 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_