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