Blame SOURCES/mod_http2-1.15.7-SNI.patch

cbb694
commit 0686f5d00a4b5a54238a1979f8e61d179adf2ea9
cbb694
Author: Tomas Korbar <tkorbar@redhat.com>
cbb694
Date:   Thu Sep 22 14:56:24 2022 +0200
cbb694
cbb694
    Backport refactor of SNI feature
cbb694
cbb694
diff --git a/mod_http2/mod_proxy_http2.c b/mod_http2/mod_proxy_http2.c
cbb694
index 83ae431..2208707 100644
cbb694
--- a/mod_http2/mod_proxy_http2.c
cbb694
+++ b/mod_http2/mod_proxy_http2.c
cbb694
@@ -403,14 +403,6 @@ run_connect:
cbb694
          */
cbb694
         apr_table_setn(ctx->p_conn->connection->notes,
cbb694
                        "proxy-request-alpn-protos", "h2");
cbb694
-        if (ctx->p_conn->ssl_hostname) {
cbb694
-            ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, ctx->owner,
cbb694
-                          "set SNI to %s for (%s)",
cbb694
-                          ctx->p_conn->ssl_hostname,
cbb694
-                          ctx->p_conn->hostname);
cbb694
-            apr_table_setn(ctx->p_conn->connection->notes,
cbb694
-                           "proxy-request-hostname", ctx->p_conn->ssl_hostname);
cbb694
-        }
cbb694
     }
cbb694
 
cbb694
     if (ctx->master->aborted) goto cleanup;