[PATCH spice-streaming-agent v2 0/3] refactor the protocol I/O

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

here's version 2 of the streaming agent I/O refactor. I've dropped the
Poll patch, there's less incentive for it now, I may post it again or
rework it later.

Cheers,
Lukas


Changes since v1:
* added a patch to make StreamPort::fd const
* switched from designated initializers to regular initialization
* added a generic 4kB inbound message size limit
* fixed switch statement formatting
* added a comment and made the conversion from num_codecs to the bool
  start_streaming explicit
* removed the Poll class patch


Lukáš Hrázký (3):
  stream-port: make StreamPort::fd const
  Introduce InboundMessages for the StreamPort class
  Introduce OutboundMessages for the StreamPort class

 src/cursor-updater.cpp        | 117 +++++++++++---------
 src/spice-streaming-agent.cpp | 197 ++++++++++++----------------------
 src/stream-port.cpp           |  81 +++++++++++++-
 src/stream-port.hpp           |  76 ++++++++++++-
 4 files changed, 288 insertions(+), 183 deletions(-)

-- 
2.19.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]