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

Re: [PATCH] git-daemon: --inetd implies --syslog

From
Junio C Hamano <junkio@cox.net>
Date
Nov 14, 2005, 22:01 UTC
Message-ID
<7vfypyx50s.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4379006E.8020607@op5.se>
Andreas Ericsson <ae@op5.se> writes:
> That shouldn't be a problem because;
> 1) handle() dupes the connected socket to stdin and stdout, but not stderr.
I am afraid that
$ git whatchanged -s -S'FIXME' daemon.c
tells me otherwise.  Whatever we do in handle() is too late to matter.
diff-tree 7c3693f1f240e17772c864fad35bc16226038fc8 (from 6a2e50f9dfdca7ac572bbe30dd0efdf19ca250f6)
Author: lars.doelle@on-line.de <lars.doelle@on-line.de>
Date:   Thu Sep 8 03:50:01 2005 +0200
    [PATCH] git-daemon --inetd
    
    git-daemon using inetd. does not work properly. inetd routes stderr onto the
    network line just like stdout, which was apparently not expected to be so.
    
    As the result of this, the stream is closed by the receiver, because some
    "Packing %d objects\n" originating from pack_objects is first reported over
    the line instead of the expected pack_header, and so the SIGNATURE test
    fails.  Here is a workaround.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Previous: Andreas EricssonNext: H. Peter Anvin
Message 4 of 5 in “git-daemon: --inetd implies --syslog”
  1. git-daemon: --inetd implies --syslogAndreas Ericsson, Nov 14, 2005
  2. Junio C HamanoNov 14, 2005
  3. Andreas EricssonNov 14, 2005
  4. Junio C HamanoNov 14, 2005
  5. H. Peter AnvinNov 14, 2005

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.