[Spice-devel] [PATCH spice-gtk] Rewrite URI parsing to work with IPv6 raw addresses

Daniel P. Berrange berrange at redhat.com
Wed Apr 18 08:54:05 PDT 2012


On Wed, Apr 18, 2012 at 11:52:25AM -0400, Marc-André Lureau wrote:
> 
> 
> ----- Mensaje original -----
> > From: "Daniel P. Berrange" <berrange at redhat.com>
> > 
> > The SPICE URI parser did not cope with URI containing
> > raw IPv6 addresses ie
> > 
> >    spice://[2001:41c8:1:4fd4::2]/?port=5901
> > 
> > This replaces the custom written URI parser with code that
> > calls out to libxml2's URI APIs which are RFC compliant.
> 
> I was waiting for GLib GUri API for that. It is a bit sad to add libxml dependency just for it, isn't it?

Is that really a burden ?  libxml2 exists on pretty much every system
in the world. Even my  TV came with a copy of the Libxml2 README and
LICENSE :-)  virt-viewer / libvirt will already be using it too.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


More information about the Spice-devel mailing list