httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r813531 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
Date Thu, 10 Sep 2009 18:09:01 GMT
Author: trawick
Date: Thu Sep 10 18:09:01 2009
New Revision: 813531

URL: http://svn.apache.org/viewvc?rev=813531&view=rev
Log:
fix error handling in socket_writev()

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c?rev=813531&r1=813530&r2=813531&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c Thu Sep 10 18:09:01 2009
@@ -695,8 +695,8 @@
         }
     } while (retcode == -1 && APR_STATUS_IS_EINTR(errno));
 
-    if (retcode == 0) {
-        ap_log_error(APLOG_MARK, APLOG_INFO, 0,
+    if (retcode == -1) {
+        ap_log_error(APLOG_MARK, APLOG_INFO, apr_get_os_error(),
                      ipc_handle->request->server,
                      "mod_fcgid: Write data error, fastcgi server has close connection");
         return APR_EPIPE;



Mime
View raw message