git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git daemon directory munging?

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jun 4, 2006, 23:10 UTC
Message-ID
<44836868.1050700@zytor.com>
In-Reply-To
<7vverhcu5n.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 5 quoted lines
> 
> Adding host like HTTP does with Host: header makes sense but I
> think the accept side can usually tell what the port it accepted
> the connection to is.
> 

Yes, but that requires that each hostname has a separate IP address and/or port number (and SRV records in DNS, which not all platforms pay attention to.)

Now, if the hostname is passed in like this, it needs to be carefully canonicalized, and there needs to be provisions for wildcard matches.

	-hpa
Previous: Junio C HamanoNext: H. Peter Anvin
Message 4 of 5 in “git daemon directory munging?”
  1. Jon LoeligerJun 4, 2006
  2. Linus TorvaldsJun 4, 2006
  3. Junio C HamanoJun 4, 2006
  4. H. Peter AnvinJun 4, 2006
  5. H. Peter AnvinJun 4, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.