Commit 971e402f authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

ab: repeat apr_pollset_poll() while APR_STATUS_IS_EINTR(rv)

Backports: r750094
Submitted by: trawick
Reviewed by: sf, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1005524 13f79535-47bb-0310-9956-ffa450edef68
parent 8b0003ca
Loading
Loading
Loading
Loading
+2 −0
Changes for support/ab.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1697,7 +1697,9 @@ static void test(void)
        const apr_pollfd_t *pollresults;

        n = concurrency;
        do {
        status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults);
        } while (APR_STATUS_IS_EINTR(status));
        if (status != APR_SUCCESS)
            apr_err("apr_poll", status);