1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-01 07:26:57 +03:00

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
This commit is contained in:
Yann Ylavic
2017-12-20 14:38:05 +00:00
parent 0397f6a888
commit 8fd774b63c
2 changed files with 7 additions and 0 deletions

View File

@ -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);