arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1530999.patch

cae244
# ./pullrev.sh 1530999
cae244
cae244
http://svn.apache.org/viewvc?view=revision&revision=1530999
cae244
cae244
https://bugzilla.redhat.com/show_bug.cgi?id=1557785
cae244
cae244
--- httpd-2.4.6/server/core_filters.c
cae244
+++ httpd-2.4.6/server/core_filters.c
cae244
@@ -745,7 +745,9 @@
cae244
                 pollset.reqevents = APR_POLLOUT;
cae244
                 pollset.desc.s = s;
cae244
                 apr_socket_timeout_get(s, &timeout);
cae244
-                rv = apr_poll(&pollset, 1, &nsds, timeout);
cae244
+                do {
cae244
+                    rv = apr_poll(&pollset, 1, &nsds, timeout);
cae244
+                } while (APR_STATUS_IS_EINTR(rv));
cae244
                 if (rv != APR_SUCCESS) {
cae244
                     break;
cae244
                 }