From: Garrett Rooney Date: Fri, 29 Sep 2006 13:44:45 +0000 (+0000) Subject: Follow up to r451287, use APR_STATUS_IS_TIMEUP instead of comparing X-Git-Tag: 2.3.0~2110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49291c14442d6643f1e2fe813ce0453d7d183b82;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 545d8b4d431..640df9152ee 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -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