dmitry Mon Jul 9 11:48:39 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/sapi/cgi fastcgi.c Log: ECONNABORTED is not a critical error (Andrei Nigmatulin) http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.4.2.13.2.26&r2=1.4.2.13.2.27&diff_format=u Index: php-src/sapi/cgi/fastcgi.c diff -u php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.26 php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.27 --- php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.26 Mon May 21 09:08:13 2007 +++ php-src/sapi/cgi/fastcgi.c Mon Jul 9 11:48:39 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fastcgi.c,v 1.4.2.13.2.26 2007/05/21 09:08:13 dmitry Exp $ */ +/* $Id: fastcgi.c,v 1.4.2.13.2.27 2007/07/09 11:48:39 dmitry Exp $ */ #include "php.h" #include "fastcgi.h" @@ -927,7 +927,11 @@ } } +#ifdef _WIN32 if (req->fd < 0 && (in_shutdown || errno != EINTR)) { +#else + if (req->fd < 0 && (in_shutdown || (errno != EINTR && errno != ECONNABORTED))) { +#endif return -1; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php