From: Stefan Eissing Date: Tue, 3 Apr 2018 13:06:02 +0000 (+0000) Subject: On the trunk: X-Git-Tag: 2.5.0-alpha2-ci-test-only~2726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb903b65c53a3f8caecdd3e2f907254cd37e0acf;p=thirdparty%2Fapache%2Fhttpd.git On the trunk: * 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 --- diff --git a/modules/http2/h2_h2.c b/modules/http2/h2_h2.c index fe5fa5429e3..72e938c029f 100644 --- a/modules/http2/h2_h2.c +++ b/modules/http2/h2_h2.c @@ -637,7 +637,7 @@ int h2_h2_process_conn(conn_rec* c) } 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));