[Spice-devel] [PATCH spice-gtk 0/3] WIP: Remove webdav server hacks

Marc-André Lureau marcandre.lureau at redhat.com
Thu Feb 12 05:12:38 PST 2015


Hi,

The following patches remove the need to spawn a webdav server thread
listening on a TCP socket. Instead of proxying the client connections
via TCP sockets, it makes use of a user-space GIOStream pipe.

It requires a new version of phodav, that breaks due to libsoup
deprecations. The last patch depends on a new API proposed to libsoup
in gbo#739603.

Marc-André Lureau (3):
  Add GIOStream-based pipe
  Use libphodav-2 (breaks webdav server temporarily)
  webdav: use a pipe to connect to server

 configure.ac         |   2 +-
 gtk/Makefile.am      |   2 +
 gtk/channel-webdav.c | 248 ++++++----------------
 gtk/giopipe.c        | 569 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gtk/giopipe.h        |  53 +++++
 gtk/spice-session.c  |  41 ++--
 spice-common         |   2 +-
 tests/Makefile.am    |   2 +
 tests/pipe.c         | 313 ++++++++++++++++++++++++++++
 9 files changed, 1021 insertions(+), 211 deletions(-)
 create mode 100644 gtk/giopipe.c
 create mode 100644 gtk/giopipe.h
 create mode 100644 tests/pipe.c

-- 
2.1.0



More information about the Spice-devel mailing list