[Spice-devel] [PATCH 0/5] reds-private & websockets

Alon Levy alevy at redhat.com
Fri Oct 19 04:50:07 PDT 2012


websockets commit contains full details.

This is kind of an RFC but since it works basically and I don't believe there
are any regressions I'm sending as a patch series.

You can test either by changing the default ws_port in reds.c to something !=
-1 (5959 is the default for spice-html5), or with the qemu from
http://cgit.freedesktop.org/~alon/qemu/ which adds a ws-port argument.

Alon Levy (5):
  configure.ac: add libcacard to SPICE_REQUIRES if built with smartcard
    support
  server/reds.c: split off reds-private.h
  server/tests/test_display_base: fix segfault in test
  server: add websockets support via libwebsockets
  release 0.12.1

 configure.ac                     |  20 ++-
 server/Makefile.am               |   4 +
 server/reds-private.h            | 221 ++++++++++++++++++++++++++++
 server/reds.c                    | 259 +++++++-------------------------
 server/reds.h                    |  17 +++
 server/reds_websockets.c         | 311 +++++++++++++++++++++++++++++++++++++++
 server/reds_websockets.h         |   9 ++
 server/spice-server.syms         |   5 +
 server/spice.h                   |   9 +-
 server/tests/test_display_base.c |  10 +-
 10 files changed, 657 insertions(+), 208 deletions(-)
 create mode 100644 server/reds-private.h
 create mode 100644 server/reds_websockets.c
 create mode 100644 server/reds_websockets.h

-- 
1.7.12.1



More information about the Spice-devel mailing list