summaryrefslogtreecommitdiff
path: root/modules/debugging
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2017-12-20 14:38:05 +0000
committerYann Ylavic <ylavic@apache.org>2017-12-20 14:38:05 +0000
commit8fd774b63cbfcdddda7fe9dca30705fa28516e38 (patch)
treee38b5c456f27a123ced5a262d6aa7d0d330a54b4 /modules/debugging
parent0397f6a8882d700c8d33853f02874799cecbbe7e (diff)
downloadhttpd-8fd774b63cbfcdddda7fe9dca30705fa28516e38.tar.gz
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
Diffstat (limited to 'modules/debugging')
-rw-r--r--modules/debugging/mod_dumpio.c5
1 files changed, 5 insertions, 0 deletions
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);