On Thu, Aug 3, 2017 at 3:19 PM Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> wrote:
Hi
----- Original Message -----
> On Thu, Aug 03, 2017 at 01:12:10PM +0100, marcandre.lureau@xxxxxxxxxx wrote:
> > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> >
> > That HTTP proxy code has been added to glib 2.43.92.
>
> Does this mean the HTTP proxy code was already unused when running
> with a recent glib? Or was wocky-http always used, and after this commit
> we will switch to the glib implementation?
GLib implementation is based on spice-gtk implementation, so both are quite similar.
GIO implementation should be first registered (_g_io_modules_ensure_loaded), they have same priority 0. There might be other GIO modules with http/https proxy as higher priority, though unlikely.
g_io_extension_point_get_extension_by_name() used by gproxy takes the list in order, and the list is updated with g_list_insert_sorted(), so Spice implementation is returned first so far. This will effectively replace it with glib version if no other http/https extension exists on the system.
ack? (it should be non-controversial, it replaces our implementation with one that is better maintained and that was based on our implementation)
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel