[Spice-devel] [PATCHv2 spice-gtk 00/14] Add https + basic auth proxy support
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Feb 12 02:18:58 PST 2014
From: Marc-André Lureau <marcandre.lureau at redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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.
In v2:
- address Christophe's comments from v1 review
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 | 5 +-
gtk/spice-channel.c | 137 ++++++++-----
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 | 360 +++++++++++++++++++++++++++++++++++
gtk/spice-uri.h | 52 +++++
gtk/spicy.c | 6 +
gtk/wocky-http-proxy.c | 154 +++++++++++++--
gtk/wocky-http-proxy.h | 14 ++
28 files changed, 1006 insertions(+), 563 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