[Spice-devel] [PATCH spice-server 0/6] Improve pipe handling

Frediano Ziglio fziglio at redhat.com
Tue Aug 29 10:53:33 UTC 2017


This series does 2 changes handling the items on client pipe:
- do not push items too much, is not needed anymore and
  cause just network fragmentation;
- instead of duplicating messages in the queue keep a
  reference to the same item using reference counting.

Frediano Ziglio (6):
  red-channel-client: Remove push call where not necessary
  main-channel: Fix multimedia time argument type
  red-channel: Add red_channel_pipes_add function
  Use new red_channel_pipes_add instead of red_channel_pipes_new_add
  red-channel: Reuse red_channel_pipes_add
  red-channel: Do not push data calling red_channel_pipes_new_add_push

 server/cursor-channel.c      |  7 +++----
 server/display-channel.c     |  4 ++--
 server/inputs-channel.c      |  9 ++++-----
 server/main-channel-client.c | 15 ++++++---------
 server/main-channel-client.h | 14 ++------------
 server/main-channel.c        | 18 ++++--------------
 server/main-channel.h        |  2 +-
 server/red-channel-client.c  | 12 ++++++++----
 server/red-channel-client.h  |  1 +
 server/red-channel.c         | 43 ++++++++++++++++++-------------------------
 server/red-channel.h         |  5 +++--
 11 files changed, 52 insertions(+), 78 deletions(-)

-- 
2.13.5



More information about the Spice-devel mailing list