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

added possibility to supply more than one --listen argument to git-daemon

From
Alexander Sulfrian <alexander@sulfrian.net>
Date
Aug 23, 2010, 16:54 UTC
Message-ID
<1282582475-3545-1-git-send-email-alexander@sulfrian.net>
Hi list,

I have written a patch to allow more than one --listen argument to the git daemon. The current situation is, that the daemon silently ignores all --listen arguments beside the last one. So there is no possibility to let on server listen on many addresses without let it bind to all.

Even if that is currently not a problem with ipv4 addresses, in the future that problem gets even worse. I wanted git-daemon to listen on an ipv4 address and an ipv6 address. That is currently not possible without running two instances. So I created that patch.

I already send this patch as [PATCH/RFC] to the list earlier. But because nobody has send any reply yet, I am resending it as [PATCH] ready for inclusion now.

Thanks, Alex

Next: Alexander Sulfrian
Message 1 of 18 in “added possibility to supply more than one --listen argument to git-daemon”
  1. Alexander SulfrianAug 23, 2010
  2. added possibility to supply more than one --listen argument to git-daemonAlexander Sulfrian, Aug 23, 2010
  3. Junio C HamanoAug 23, 2010
  4. daemon: allow more than one host addresses given via --listenAlexander Sulfrian, Aug 29, 2010
  5. daemon: allow more than one host addresses given via --listenAlexander Sulfrian, Aug 29, 2010
  6. 1/2 daemon: add helper function named_sock_setupAlexander Sulfrian, Aug 29, 2010
  7. 2/2 daemon: allow more than one host address given via --listenAlexander Sulfrian, Aug 29, 2010
  8. Junio C HamanoAug 30, 2010
  9. daemon: allow more than one host address given via --listenAlexander Sulfrian, Aug 30, 2010
  10. 1/2 daemon: add helper function named_sock_setupAlexander Sulfrian, Aug 30, 2010
  11. Erik Faye-LundAug 30, 2010
  12. AlexanderSAug 30, 2010
  13. Erik Faye-LundAug 30, 2010
  14. 2/2 daemon: allow more than one host address given via --listenAlexander Sulfrian, Aug 30, 2010
  15. 1/2 daemon: add helper function named_sock_setupAlexander Sulfrian, Aug 29, 2010
  16. 2/2 daemon: allow more than one host address given via --listenAlexander Sulfrian, Aug 29, 2010
  17. Erik Faye-LundAug 29, 2010
  18. AlexanderSAug 29, 2010

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.