Re: [Spice-devel] [spice-gtk v1 2/2] vmcstream: consider incomplete messages

2017-08-01 Thread Marc-André Lureau
- Original Message - > From: Victor Toso > > spice_vmc_input_stream_co_data() is called with the payload of > message ($data) and this buffer size ($size). > > The client of this demux reads each parameter using > spice_vmc_input_stream_read_all_async() by passing the size of the > mes

[Spice-devel] [spice-gtk v1 2/2] vmcstream: consider incomplete messages

2017-08-01 Thread Victor Toso
From: Victor Toso spice_vmc_input_stream_co_data() is called with the payload of message ($data) and this buffer size ($size). The client of this demux reads each parameter using spice_vmc_input_stream_read_all_async() by passing the size of the message that it wants which is stored in self->cou