From a4862ba434eb7dd16ec8ee699b6b01ec53376a1c Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Thu, 24 Sep 2015 21:26:22 +0000 Subject: Follow up to r1705134: don't insert the filter (twice) for sub-requests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705157 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_logio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/loggers') 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; -- cgit v1.2.3