[Spice-devel] [PATCH spice-gtk 0/5] webdav channel improvements

Marc-André Lureau marcandre.lureau at redhat.com
Fri Feb 20 16:40:11 PST 2015


Hi,

This is an update on the previous webdav WIP series, but this time all
the required bits in libsoup and phodav are ready: the following
patches remove the need to spawn a webdav server thread listening on a
local TCP socket. Instead of proxying the client connections via TCP
sockets, it makes use of a "program-space" GIOStream pipe.

The last two patches allow to change dynamically the root path and
read-only configuration of the server.

Marc-André Lureau (5):
  Add GIOStream-based pipe
  Use libphodav-2 (breaks webdav server temporarily)
  webdav: use a pipe to connect to server
  session: add share-dir-ro property
  session: bind path and read-only to webdav server

 configure.ac         |   4 +-
 gtk/Makefile.am      |   7 +
 gtk/channel-webdav.c | 246 +++++++--------------------
 gtk/giopipe.c        | 472 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gtk/giopipe.h        |  29 ++++
 gtk/spice-session.c  |  73 +++++---
 tests/Makefile.am    |   5 +
 tests/pipe.c         | 313 ++++++++++++++++++++++++++++++++++
 8 files changed, 939 insertions(+), 210 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