From: Mark Wooding Date: Fri, 3 Feb 2006 20:27:04 +0000 (+0000) Subject: daemon: Set SO_REUSEADDR on listening sockets. X-Git-Tag: v1.2.0~57^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1955fabf4194f3629e028778d0081bb2aa16c06c?hp=1955fabf4194f3629e028778d0081bb2aa16c06c daemon: Set SO_REUSEADDR on listening sockets. Without this, you can silently lose the ability to receive IPv4 connections if you stop and restart the daemon. [jc: tweaked code organization a bit and made this controllable from a command line option.] Signed-off-by: Mark Wooding Signed-off-by: Junio C Hamano ---