2.4 patch: Trunk patch works
+1: sf, jorton, jim
- * mod_filter: Add some trace logging for AddOutputFilterByType
- Trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1299783
- 2.4 patch: Trunk patch works
- +1: sf, jorton, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
const char **type = provider->types;
size_t len = strcspn(r->content_type, "; \t");
AP_DEBUG_ASSERT(type != NULL);
+ ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r,
+ "Content-Type '%s' ...", r->content_type);
while (*type) {
/* Handle 'content-type;charset=...' correctly */
if (strncmp(*type, r->content_type, len) == 0
&& (*type)[len] == '\0') {
+ ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r,
+ "... matched '%s'", *type);
match = 1;
break;
}
+ else {
+ ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r,
+ "... did not match '%s'", *type);
+ }
type++;
}
ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r,
provider->frec->name,
match ? "matched" : "did not match");
}
+ else {
+ ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r,
+ "Content-Type condition for '%s' did not match: "
+ "no Content-Type", provider->frec->name);
+ }
if (match) {
/* condition matches this provider */