httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1487530 - /httpd/httpd/trunk/modules/filters/mod_ratelimit.c
Date Wed, 29 May 2013 16:12:10 GMT
Author: jorton
Date: Wed May 29 16:12:10 2013
New Revision: 1487530

URL: http://svn.apache.org/r1487530
Log:
* modules/filters/mod_ratelimit.c (rate_limit_filter): Log the error
  code.

Modified:
    httpd/httpd/trunk/modules/filters/mod_ratelimit.c

Modified: httpd/httpd/trunk/modules/filters/mod_ratelimit.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_ratelimit.c?rev=1487530&r1=1487529&r2=1487530&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_ratelimit.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_ratelimit.c Wed May 29 16:12:10 2013
@@ -187,7 +187,7 @@ rate_limit_filter(ap_filter_t *f, apr_bu
                 rv = apr_brigade_partition(bb, ctx->chunk_size, &stop_point);
                 if (rv != APR_SUCCESS && rv != APR_INCOMPLETE) {
                     ctx->state = RATE_ERROR;
-                    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, f->r, APLOGNO(01456)
+                    ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r, APLOGNO(01456)
                                   "rl: partition failed.");
                     break;
                 }



Mime
View raw message