summaryrefslogtreecommitdiffstats
path: root/python_modules
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-12-28 11:26:03 +0200
committerYonit Halperin <yhalperi@redhat.com>2012-01-12 16:29:01 +0200
commit49e2069467dff4d56536151e2486b60e922e9371 (patch)
tree520db8d352d524b9f3d204d288eb52ab753c2a51 /python_modules
parent96ffd16e8a817cc08e7903ae227fb3ff11415196 (diff)
Add support for mini header: an header without sub list & without serial
-Add SpiceMiniDataHeader. -Introduce capability SPICE_COMMON_CAP_MINI_HEADER. The advantage of using a header without sub list is to spare the 4 bytes that were sent for a lot of messages without sublist. Instead, messages that previously contained sub lists, will be split to two msgs. The first one will be SPICE_MSG_LIST, holding the sub list, and the second will be the main msg. When most of the messages do not contain sub lists, the overhead of the additional 10 bytes for the header of SPICE_MSG_LIST is negligible. In addition, if there is only one message in the list, it can be sent independently. Instead of sending the serial number of the messages, the client and the server will increment local counters upon sending/receiving a message.
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions