https://issues.apache.org/bugzilla/show_bug.cgi?id=49058

--- Comment #2 from Jeff Trawick <[email protected]> 2010-04-08 18:52:18 UTC 
---
trunk has code for this situation, though it is only enabled for a certain
Fujitsu mainframe platform.  Here is a patch for 2.2.x.  Does this resolve the
error message for you?

Index: os/unix/unixd.c
===================================================================
--- os/unix/unixd.c    (revision 923736)
+++ os/unix/unixd.c    (working copy)
@@ -633,6 +633,12 @@
             return APR_EGENERAL;
 #else
         default:
+            /* If the socket has been closed in ap_close_listeners()
+             * by the restart/stop action, we may get EBADF.
+             * Do not print an error in this case.
+             */
+            if (!lr->active && status == EBADF)
+                return status;
             ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf,
                          "apr_socket_accept: (client socket)");
             return APR_EGENERAL;

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to