[Spice-devel] [linux-vdagent PATCH 0/4]: fix chunk demultiplexing

Hans de Goede hdegoede at redhat.com
Wed Mar 23 12:31:04 PDT 2011


Hi All,

While looking into adding support for disabling copy paste to
spice-server, I noticed that spice-server can intermix chunks
from 2 different agent messages, when they come from different
sources (ports in chunk terms, client versus server). The windows
code has an ugly hack to cope with this (it assumes messages from
the server will always fit within 1 chunk, which is true).
The linux spice-vdagent OTOH until now did not cope with this at
all.

This patch sets fixing this, by doing the re-assembling of chunks
into vdagent messages per port.

Review appreciated.

Regards,

Hans


More information about the Spice-devel mailing list