]> granicus.if.org Git - apache/commitdiff
Follow up to r451287, use APR_STATUS_IS_TIMEUP instead of comparing
authorGarrett Rooney <rooneg@apache.org>
Fri, 29 Sep 2006 13:44:45 +0000 (13:44 +0000)
committerGarrett Rooney <rooneg@apache.org>
Fri, 29 Sep 2006 13:44:45 +0000 (13:44 +0000)
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

modules/http/http_request.c

index 545d8b4d43188bb6656283d7a3b06d2c7176f712..640df9152ee7c4bfb3f95a4eaeb0731b1be05641 100644 (file)
@@ -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