Blame SOURCES/mod_http2-1.15.7-SNI.patch

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