[PATCHv3 spice-gtk 00/14] Add https + basic auth proxy support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

It also introduce a get_error() function, currently used to permit
clients to ask for proxy credentials when required. A small patch for
this is ready to be submitted for virt-viewer.

In v3:
 - address last Christophe's comments from v2

Marc-André Lureau (14):
  compat: add strtok_r fallback
  proxy: split uri with : in only 2 parts
  proxy: add user and pass properties
  proxy: parse user and pass from uri
  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: simplify has error code
  channel: talk to giostream instead of gsocket
  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                  | 113 ++++++---
 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                      | 460 +++++++++++++++++++++++++++++++++++
 gtk/spice-uri.h                      |  52 ++++
 gtk/spicy.c                          |   6 +
 gtk/wocky-http-proxy.c               | 163 +++++++++++--
 gtk/wocky-http-proxy.h               |  14 ++
 28 files changed, 1099 insertions(+), 553 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]