|
|
@ -949,11 +949,9 @@ retry: |
|
|
|
|
|
|
|
|
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
if (sockd < 0) { |
|
|
|
if (sockd < 0) { |
|
|
|
if (interrupted()) |
|
|
|
LOGERR("Failed to accept on stratifier socket, exiting"); |
|
|
|
goto retry; |
|
|
|
ret = 1; |
|
|
|
LOGERR("Failed to accept on stratifier socket, retrying in 5s"); |
|
|
|
goto out; |
|
|
|
sleep(5); |
|
|
|
|
|
|
|
goto retry; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
dealloc(buf); |
|
|
|
dealloc(buf); |
|
|
|