From: Dmitry Stogov Date: Mon, 9 Jul 2007 11:48:53 +0000 (+0000) Subject: ECONNABORTED is not a critical error (Andrei Nigmatulin) X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aadb18c52f7373d5ab76dc86e0d8ecb20ee01fd4;p=php ECONNABORTED is not a critical error (Andrei Nigmatulin) --- diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 8062e22a9d..50f8a250b1 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -927,7 +927,11 @@ int fcgi_accept_request(fcgi_request *req) } } +#ifdef _WIN32 if (req->fd < 0 && (in_shutdown || errno != EINTR)) { +#else + if (req->fd < 0 && (in_shutdown || (errno != EINTR && errno != ECONNABORTED))) { +#endif return -1; }