diff options
author | Junio C Hamano <junkio@cox.net> | 2005-07-26 13:26:52 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-05 01:27:13 -0700 |
commit | 1eef0b33c6b33d9bc6fcce784b34599931256a36 (patch) | |
tree | ed66311e1b42d8bf9aee0d03b2383ac6e5e1aa3c /t/lib-read-tree-m-3way.sh | |
parent | Teach rev-list since..til notation. (diff) | |
download | tgif-1eef0b33c6b33d9bc6fcce784b34599931256a36.tar.xz |
daemon.c: squelch error message from EINTR
Every time after servicing the connection, select() first fails
with EINTR and ends up waiting for one second before serving the
next client. The sleep() was placed by the original author per
suggestion from the list to avoid spinning on failing select,
but at least this EINTR situation should not result in "at most
one client per second" service limit.
I am not sure if this is the right fix, but WTH. The king
penguin says that serious people would run the daemon under
inetd anyway, and I agree with that.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/lib-read-tree-m-3way.sh')
0 files changed, 0 insertions, 0 deletions