Commit 3ca9cc69fc41aba17f64318183664251557e26d2

actually do the accept nonblockingly

Commit diff

script/git-daemon

 
4444
4545 def run
4646 begin
47 while session = @socket.accept
47 while session = @socket.accept_nonblock
4848 connections = $children_active - $children_reaped
4949 if connections > MAX_CHILDREN
5050 log(Process.pid, "too many active children #{connections}/#{MAX_CHILDREN}")
toggle raw diff