diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-09-24 23:26:22 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-09-24 23:26:22 +0200 |
commit | a4862ba434eb7dd16ec8ee699b6b01ec53376a1c (patch) | |
tree | 3bec7f40268e400a46319957847d58912f83bff8 /modules/loggers | |
parent | Avoid storing request stuff in r->connection->conn_config to (diff) | |
download | apache2-a4862ba434eb7dd16ec8ee699b6b01ec53376a1c.tar.xz apache2-a4862ba434eb7dd16ec8ee699b6b01ec53376a1c.zip |
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
Diffstat (limited to 'modules/loggers')
-rw-r--r-- | modules/loggers/mod_logio.c | 2 |
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; |