[Spice-devel] [PATCH spice-gtk v2 0/5] Allow ipv6 proxy url

Pavel Grunt pgrunt at redhat.com
Tue May 17 17:30:44 UTC 2016


Hi,

these patches add ipv6 support to SpiceUri, so it can be used in SPICE_PROXY.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1335239

v2 contains changes suggested by Frediano and Victor:
 - more tests (missing port, missing ending bracket)
 - tests are defined in array, so it is easier to add new test cases
 - follow ipv6 address format http://user:password@[ipv6]:port

Thanks,

Pavel Grunt (5):
  tests: Add test for SpiceUri
  spice-uri: Add missing include
  spice-uri: Set user & password to NULL when not specified
  spice-uri: Do not allow empty port string
  spice-uri: Add ipv6 support

 src/spice-uri.c        |  32 ++++++++++++--
 tests/Makefile.am      |   2 +
 tests/test-spice-uri.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 144 insertions(+), 4 deletions(-)
 create mode 100644 tests/test-spice-uri.c

-- 
2.8.2



More information about the Spice-devel mailing list