* mod_http2: calculate unencrypted connection sniffing base64 only when log level is at required height. [Ruediger Pluem]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1828232 13f79535-47bb-0310-9956-
ffa450edef68
}
h2_ctx_protocol_set(ctx, h2_h2_is_tls(c)? "h2" : "h2c");
}
- else {
+ else if (APLOGctrace2(c)) {
ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c,
"h2_h2, not detected in %d bytes(base64): %s",
(int)slen, h2_util_base64url_encode(s, slen, c->pool));