[Spice-devel] [PATCH spice-streaming-agent v2 0/3] refactor the protocol I/O
Lukáš Hrázký
lhrazky at redhat.com
Fri Oct 12 10:04:18 UTC 2018
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
More information about the Spice-devel
mailing list