diff --git a/src/simplehttpd.c b/src/simplehttpd.c index 2035672b26f22610a8f3704cec55760e369b5dea..61e9e737f181098eb2154cfeefc9cf5ca4f5fe8e 100644 --- a/src/simplehttpd.c +++ b/src/simplehttpd.c @@ -530,7 +530,10 @@ int StartHttpServerSync(const char *ip, uint16_t port) client_sock = accept(server_sock, (struct sockaddr *)&client_name, &client_name_len); if (client_sock == -1) { - HTTPD_LOG_ERROR("accept failed, %d, %s.", errno, strerror(errno)); + if (errno != EAGAIN) + { + HTTPD_LOG_ERROR("accept failed, %d, %s.", errno, strerror(errno)); + } continue; }