*) mod_cache: Eliminate a bogus error in the log when a filter returns
AP_FILTER_ERROR. [Niklas Edmundsson <nikke acc.umu.se>]
Reviewed by: minfrin, wrowe, trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@483974
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.4
+ *) mod_cache: Eliminate a bogus error in the log when a filter returns
+ AP_FILTER_ERROR. [Niklas Edmundsson <nikke acc.umu.se>]
+
*) Fix issue which could cause piped loggers to be orphaned and never
terminate after a graceful restart. PR 40651. [Joe Orton,
Ruediger Pluem]
+1: minfrin, jim, wrowe
wrowe asks; should ptr mobj->m be nulled out for safety's sake?
- * mod_cache: Eliminate a bogus error in the log when a filter returns
- AP_FILTER_ERROR.
- Trunk: http://svn.apache.org/viewvc?view=rev&rev=450453
- +1: minfrin, wrowe
-
* mod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If
set, REMOTE_USER will be set to this attribute, rather than the
username supplied by the user. Useful for example when you want users
out = apr_brigade_create(r->pool, r->connection->bucket_alloc);
rv = ap_pass_brigade(r->output_filters, out);
if (rv != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
- "cache: error returned while trying to return %s "
- "cached data",
- cache->provider_name);
+ if (rv != AP_FILTER_ERROR) {
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
+ "cache: error returned while trying to return %s "
+ "cached data",
+ cache->provider_name);
+ }
return rv;
}