We do not retry the accept call if it fails
This commit is contained in:
parent
a092fd91a4
commit
c9e7dd5780
@ -477,7 +477,7 @@ retry:
|
||||
close(sockd);
|
||||
sockd = accept(us->sockd, NULL, NULL);
|
||||
if (sockd < 0) {
|
||||
LOGERR("Failed to accept on connector socket, retrying in 5s");
|
||||
LOGEMERG("Failed to accept on connector socket, exiting");
|
||||
ret = 1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user