]> git.ipfire.org Git - thirdparty/git.git/commit - connect.c
Allow use of []-wrapped addresses in git://
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Tue, 26 Jan 2010 18:24:42 +0000 (20:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2010 18:52:52 +0000 (10:52 -0800)
commit9aa5053d9ffc7fade885b58a34175b4907b1a4f8
tree848f7ae58a033e39df9ce8c895735dede89fe5bd
parente8dbd76d57806fd1305612d56d56a4cc7665c599
Allow use of []-wrapped addresses in git://

Allow using "["<host>"]":<port> and "["<host>"]" notations in git://
host addresses. This is needed to be able to connect to addresses
that contain ':' (e.g. numeric IPv6 addresses). Also send the host
header []-wrapped so it can actually be parsed by remote end.

Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c