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

--- Comment #1 from Jeff Trawick <[email protected]> ---
EINTR should be handled at the point of the poll...  (On Unix, some callers
have the opportunity to handle EINTR differently when apr_poll() is
interrupted.)  Did you try something like this?

Index: server/core_filters.c
===================================================================
--- server/core_filters.c    (revision 1530310)
+++ server/core_filters.c    (working copy)
@@ -745,7 +745,9 @@
                 pollset.reqevents = APR_POLLOUT;
                 pollset.desc.s = s;
                 apr_socket_timeout_get(s, &timeout);
-                rv = apr_poll(&pollset, 1, &nsds, timeout);
+                do {
+                    rv = apr_poll(&pollset, 1, &nsds, timeout);
+                } while (APR_STATUS_IS_EINTR(rv));
                 if (rv != APR_SUCCESS) {
                     break;
                 }

-- 
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