[Spice-devel] [spice-gtk 00/13] Add https + basic auth proxy support

Marc-André Lureau marcandre.lureau at gmail.com
Mon Feb 3 10:02:31 PST 2014


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Hi,

The following series allows to connect to an HTTPS proxy, with Basic
authentication.

It also allows clients to ask credentials when required. This will
need some client side support, and a small patch is ready for
virt-viewer.

Marc-André Lureau (13):
  test: fix a few compiler warnings
  compat: add strtok_r fallback
  spice-proxy: parse user and pass
  http-proxy: specify Basic scheme
  spice-proxy: parse https protocol
  http-proxy: add https proxy
  Fill g_proxy_address_new() with protocol, user and password
  openssl: learn to handle a new kind of BIO based on GIOStream
  channel: talk to giostream instead of gsocket
  channel: simplify has error code
  Make SpiceURI a public API
  channel: add spice_channel_get_error()
  session: add spice_session_get_proxy_uri()

 configure.ac                         |   2 +-
 doc/reference/Makefile.am            |   1 +
 doc/reference/spice-gtk-docs.xml     |   1 +
 doc/reference/spice-gtk-sections.txt |  28 +++
 gtk/Makefile.am                      |   9 +-
 gtk/bio-gio.c                        | 135 ++++++++++
 gtk/bio-gio.h                        |  34 +++
 gtk/bio-gsocket.c                    | 111 --------
 gtk/bio-gsocket.h                    |  30 ---
 gtk/glib-compat.c                    |  34 +++
 gtk/glib-compat.h                    |   8 +
 gtk/map-file                         |  14 ++
 gtk/spice-channel-priv.h             |   3 +
 gtk/spice-channel.c                  | 102 +++++---
 gtk/spice-channel.h                  |   2 +
 gtk/spice-client.h                   |   1 +
 gtk/spice-glib-sym-file              |  14 ++
 gtk/spice-proxy.c                    | 270 --------------------
 gtk/spice-proxy.h                    |  60 -----
 gtk/spice-session-priv.h             |   5 +-
 gtk/spice-session.c                  |  50 ++--
 gtk/spice-session.h                  |   2 +
 gtk/spice-uri-priv.h                 |  30 +++
 gtk/spice-uri.c                      | 473 +++++++++++++++++++++++++++++++++++
 gtk/spice-uri.h                      |  52 ++++
 gtk/spicy.c                          |   6 +
 gtk/wocky-http-proxy.c               | 168 +++++++++++--
 gtk/wocky-http-proxy.h               |  14 ++
 spice-common                         |   2 +-
 tests/util.c                         |  12 +-
 30 files changed, 1113 insertions(+), 560 deletions(-)
 create mode 100644 gtk/bio-gio.c
 create mode 100644 gtk/bio-gio.h
 delete mode 100644 gtk/bio-gsocket.c
 delete mode 100644 gtk/bio-gsocket.h
 delete mode 100644 gtk/spice-proxy.c
 delete mode 100644 gtk/spice-proxy.h
 create mode 100644 gtk/spice-uri-priv.h
 create mode 100644 gtk/spice-uri.c
 create mode 100644 gtk/spice-uri.h

-- 
1.8.4.2



More information about the Spice-devel mailing list