]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
On the trunk:
authorStefan Eissing <icing@apache.org>
Tue, 3 Apr 2018 09:12:55 +0000 (09:12 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 3 Apr 2018 09:12:55 +0000 (09:12 +0000)
mod_http2: on level trace2, log any unsuccessful HTTP/2 direct connection upgrade
     with base64 encoding to unify its appearance in possible bug reports.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828210 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/http2/h2_h2.c

diff --git a/CHANGES b/CHANGES
index 4d5de415dfad83d65414f332ff8ebc599fd86d47..a8b0ec17f26f42cfe5b773f650e43b5e445e673a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.1
 
+  *) mod_http2: on level trace2, log any unsuccessful HTTP/2 direct connection upgrade
+     with base64 encoding to unify its appearance in possible bug reports. [Stefan Eissing]
+
   *) mod_cgi: Add CGIScriptTimeout to make mod_cgi's timeout per-directory and
      independent of the core Timeout directive.  PR 62229.  
      [Hank Ibell <hwibell gmail.com>]
index 6f9284b1daa98e32873d18ec843306f253d9b5b4..fe5fa5429e3cf0fd55bfa885c09820bdd9b144aa 100644 (file)
@@ -639,8 +639,8 @@ int h2_h2_process_conn(conn_rec* c)
             }
             else {
                 ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c,
-                              "h2_h2, not detected in %d bytes: %s", 
-                              (int)slen, s);
+                              "h2_h2, not detected in %d bytes(base64): %s", 
+                              (int)slen, h2_util_base64url_encode(s, slen, c->pool));
             }
             
             apr_brigade_destroy(temp);