From 8fd774b63cbfcdddda7fe9dca30705fa28516e38 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Wed, 20 Dec 2017 14:38:05 +0000 Subject: mod_dumpio: do nothing below log level TRACE7. For instance, depending on EnableMMAP/Sendfile configuration, don't split file brigades to 8K heap buckets upon reading. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818802 13f79535-47bb-0310-9956-ffa450edef68 --- modules/debugging/mod_dumpio.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/debugging') diff --git a/modules/debugging/mod_dumpio.c b/modules/debugging/mod_dumpio.c index c2ef657b85..58f72a551d 100644 --- a/modules/debugging/mod_dumpio.c +++ b/modules/debugging/mod_dumpio.c @@ -181,6 +181,11 @@ static int dumpio_pre_conn(conn_rec *c, void *csd) { dumpio_conf_t *ptr; + if (APLOGctrace7(c)) { + /* Nothing to do below TRACE7 */ + return OK; + } + ptr = (dumpio_conf_t *) ap_get_module_config(c->base_server->module_config, &dumpio_module); -- cgit v1.2.3