author | Mark Wooding <mdw@distorted.org.uk> | |
Fri, 3 Feb 2006 20:27:04 +0000 (20:27 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 6 Feb 2006 00:51:01 +0000 (16:51 -0800) | ||
commit | 1955fabf4194f3629e028778d0081bb2aa16c06c | |
tree | 90a5ff5609a0be0c7316b30b1580e9f36add5bf0 | tree | snapshot |
parent | 363f24c93695d26f5af584e99093689077b1c7dd | commit | diff |
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 <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c | diff | blob | history |