summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/loggers/mod_logio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/loggers/mod_logio.c b/modules/loggers/mod_logio.c
index 58aa92cf05..c198964895 100644
--- a/modules/loggers/mod_logio.c
+++ b/modules/loggers/mod_logio.c
@@ -225,7 +225,7 @@ static void logio_insert_filter(request_rec * r)
{
logio_dirconf_t *conf = ap_get_module_config(r->per_dir_config,
&logio_module);
- if (conf->track_ttfb) {
+ if (conf->track_ttfb && !r->main) {
ap_add_output_filter(logio_ttfb_filter_name, NULL, r, r->connection);
}
return;