diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 1f4b7a2373..66e420cbb1 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2749,7 +2749,7 @@ API_EXPORT(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, apr_off_t of do { rv = apr_read(fd, buf, &n); - } while (rv == APR_EINTR && !r->connection->aborted); + } while (APR_STATUS_IS_EINTR(rv) && !r->connection->aborted); /* Is this still the right check? maybe check for n==0 or rv == APR_EOF? */ if (n < 1) {