diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-07-09 11:48:39 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-07-09 11:48:39 +0000 |
commit | 3a5501e0d4edf62ec15094f6de190cc7eda803b2 (patch) | |
tree | f173cd240975ac57033894059401d1381fd2b038 /sapi/cgi/fastcgi.c | |
parent | d56933b1797985fe6059ca022ab847e919b51e8a (diff) | |
download | php-git-3a5501e0d4edf62ec15094f6de190cc7eda803b2.tar.gz |
ECONNABORTED is not a critical error (Andrei Nigmatulin)
Diffstat (limited to 'sapi/cgi/fastcgi.c')
-rw-r--r-- | sapi/cgi/fastcgi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 5d2cdbc7d3..16059e6156 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; } |