arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone
Blob Blame History Raw
# ./pullrev.sh 1530999

http://svn.apache.org/viewvc?view=revision&revision=1530999

https://bugzilla.redhat.com/show_bug.cgi?id=1557785

--- httpd-2.4.6/server/core_filters.c
+++ httpd-2.4.6/server/core_filters.c
@@ -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;
                 }