Send non-standard port in host header of git://
commitc6e3b9fe2da0293f11eae202ec35fb343191a82d
authorShawn O. Pearce <spearce@spearce.org>
Wed, 3 Jun 2009 17:19:00 +0000 (3 10:19 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 3 Jun 2009 21:34:35 +0000 (3 23:34 +0200)
treea0ed678bb02601379dbee552e6f8e9e614a7c1fe
parent22d74749214be110f4b062c823eddb918292f002
Send non-standard port in host header of git://

On a git://host:port/path style URL, if port is not the IANA
registered port 9418 for git, the remote git daemon expects
us to send "\0host=host:port\0" in the virtual host slot.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/transport/TransportGitAnon.java