Commit 5b152737 authored by Garrett Rooney's avatar Garrett Rooney
Browse files

Follow up to r451287, use APR_STATUS_IS_TIMEUP instead of comparing

against APR_TIMEUP directly.

* modules/http/http_request.c
  (ap_process_request): Use APR_STATUS_IS_TIMEUP.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@451288 13f79535-47bb-0310-9956-ffa450edef68
parent 314600b4
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/http/http_request.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ void ap_process_request(request_rec *r)
        b = apr_bucket_flush_create(c->bucket_alloc);
        APR_BRIGADE_INSERT_HEAD(bb, b);
        rv = ap_pass_brigade(c->output_filters, bb);
        if (rv == APR_TIMEUP) {
        if (APR_STATUS_IS_TIMEUP(rv)) {
            /*
             * Notice a timeout as an error message. This might be
             * valuable for detecting clients with broken network