Do not spam the logs with EAGAIN
This commit is contained in:
parent
8ca0fbefc2
commit
3338e122cf
@ -304,7 +304,8 @@ static void child_main (struct child_s *ptr)
|
||||
* Make sure no error occurred...
|
||||
*/
|
||||
if (connfd < 0) {
|
||||
log_message (LOG_ERR,
|
||||
if (errno != EAGAIN) /* do not spam the logs */
|
||||
log_message (LOG_ERR,
|
||||
"Accept returned an error (%s) ... retrying.",
|
||||
strerror (errno));
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user