Sending this as RFC as I'm unsure of some things, marked by TODO in the second patch. It's tested, although it's quite hard to test, hence my efforts to prepare a unittest for it, which still have to bear fruit :) Lukáš Hrázký (2): Move reading stream messages into a function Implement handling of error messages from the server src/spice-streaming-agent.cpp | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) -- 2.16.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel