dmitry Mon Jul 9 11:48:53 2007 UTC
Modified files:
/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.39&r2=1.40&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.39 php-src/sapi/cgi/fastcgi.c:1.40
--- php-src/sapi/cgi/fastcgi.c:1.39 Mon May 21 09:08:25 2007
+++ php-src/sapi/cgi/fastcgi.c Mon Jul 9 11:48:53 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fastcgi.c,v 1.39 2007/05/21 09:08:25 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.40 2007/07/09 11:48:53 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