httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r451288 - /httpd/httpd/trunk/modules/http/http_request.c
Date Fri, 29 Sep 2006 13:44:46 GMT
Author: rooneg
Date: Fri Sep 29 06:44:45 2006
New Revision: 451288

URL: http://svn.apache.org/viewvc?view=rev&rev=451288
Log:
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.

Modified:
    httpd/httpd/trunk/modules/http/http_request.c

Modified: httpd/httpd/trunk/modules/http/http_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_request.c?view=diff&rev=451288&r1=451287&r2=451288
==============================================================================
--- httpd/httpd/trunk/modules/http/http_request.c (original)
+++ httpd/httpd/trunk/modules/http/http_request.c Fri Sep 29 06:44:45 2006
@@ -285,7 +285,7 @@
         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



Mime
View raw message