Re: [Spice-devel] [PATCH spice-server] StreamDevice: Fix incomplete header reads

2017-10-31 Thread Frediano Ziglio
> > The code for reading a StreamDevice message from the streaming agent has > code to handle a situation where you only read a part of the header. If > we've read only a part of the header, we will try to read the remaining > n bytes of the header within a loop until the full header is read. > Ho

[Spice-devel] [PATCH spice-server] StreamDevice: Fix incomplete header reads

2017-10-31 Thread Jonathon Jongsma
The code for reading a StreamDevice message from the streaming agent has code to handle a situation where you only read a part of the header. If we've read only a part of the header, we will try to read the remaining n bytes of the header within a loop until the full header is read. However, when w