This series fixes two problems with using addresses containing ':' (e.g. IPv6 numeric addresses) with git://: 1) ':' in hostname makes vhost headers impossible to parse If there is ':' in address, the vhost headers become impossible to parse because ':' is also splits host and port and port is optional. Change git-daemon to be able to perform address unwrapping so there is uniquely parseable syntax for hostnames containg ':' (this is compatible to how git-remote-gits encodes such vhost headers and how git-daemon2[1] decodes them). 2) Client double-unwraps addresses With git://, the addresses are unwrapped twice, which breaks address parsing for addresses enclosed by [], which in turn is required for hostnames containing ':'. This is changed to unwarp the addresses only once. This also changes wrapped addresses to be sent as wrapped for vhost headers (the first patch adds ability to parse this). [1] The reference implementation of gits:// server daemon. Ilari Liusvaara (2): Support addresses with ':' in git-daemon Allow use of []-wrapped addresses in git:// connect.c | 10 ++++++++-- daemon.c | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 38 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html