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
This commit is contained in:
Garrett Rooney
2006-09-29 13:44:45 +00:00
parent 70cf75f609
commit 49291c1444

View 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