]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: use default address + well-known ports for scheme
authorEric Wong <e@80x24.org>
Mon, 8 Aug 2022 23:53:07 +0000 (23:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Aug 2022 16:41:50 +0000 (16:41 +0000)
commit86389293edbe3273b3ff0f61cbeb9cb6a0dfe2f2
tree750c3cd5a918ca090791e4c3068e8c9b5996ecbf
parent9bca4dd90499b63cb137780a6633ce616ac35af9
daemon: use default address + well-known ports for scheme

This ensures the "bound $URL" diagnostic message at startup
always shows the URL scheme handled if not relying on socket
inheritance.

This also avoids duplicate/unused data structures when binding
sockets ourselves, as bound socket names can expand from short
names to longer names (e.g. "0:119" => "0.0.0.0:119").
lib/PublicInbox/Daemon.pm