From: Junio C Hamano Date: Fri, 03 Feb 2006 20:57:07 GMT Subject: Re: [PATCH 2/3] daemon: Set SO_REUSEADDR on listening sockets. Message-ID: <7vmzh8cg9o.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060203202704.1895.18383.stgit@metalzone.distorted.org.uk> Mark Wooding writes: > From: Mark Wooding > > Without this, you can silently lose the ability to receive IPv4 > connections if you stop and restart the daemon. > > Signed-off-by: Mark Wooding I've always wanted to ask HPA and Linus about this why we did not do SO_REUSEADDR. I've seen some non-git servers also not using it, giving me an excuse to take a coffee break during work ;-). Is it because they predate REUSEADDR, or is there a valid reason to avoid using REUSEADDR under certain conditions?