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

Re: [PATCH] daemon: Skip unknown "extra arg" information

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 5, 2009, 08:41 UTC
Message-ID
<m3iqjb6pk5.fsf@localhost.localdomain>
In-Reply-To
<20090605013332.GV3355@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> Since 1.4.4.5 (49ba83fb67 "Add virtualization support to git-daemon")
> git daemon enters an infinite loop and never terminates if a client
> hides any extra arguments in the initial request line which is not
> exactly "\0host=blah\0".
When running
  $ git daemon --export-all --verbose ...

and connecting with dummy client / netcat which adds extra arguments, it doesn't look as it never terminates; it still accepts new connections.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Shawn O. PearceNext: Sergey Vlasov
Message 4 of 7 in “daemon: Skip unknown "extra arg" information”
  1. daemon: Skip unknown "extra arg" informationShawn O. Pearce, Jun 4, 2009
  2. Junio C HamanoJun 5, 2009
  3. Shawn O. PearceJun 5, 2009
  4. Jakub NarebskiJun 5, 2009
  5. Sergey VlasovJun 5, 2009
  6. Johannes SixtJun 7, 2009
  7. Junio C HamanoJun 7, 2009

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.