diff options
author | Stefan Eissing <icing@apache.org> | 2019-05-22 13:41:36 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2019-05-22 13:41:36 +0000 |
commit | d5767ac60587a4cc16a246499fbc6d5101062ec4 (patch) | |
tree | 139552726a5b9bb67277ff76dfbaaa60d0191d50 /modules/http2/mod_proxy_http2.c | |
parent | a84a80c1e53c2bc6cf7ac39fb2ab09f3a99a851d (diff) | |
download | httpd-d5767ac60587a4cc16a246499fbc6d5101062ec4.tar.gz |
*) mod_http2: internal code cleanups and simplifications. Common output code for
h2 and h2c protocols, using nested mutex locks for simplified calls. [Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1859724 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/mod_proxy_http2.c')
-rw-r--r-- | modules/http2/mod_proxy_http2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/http2/mod_proxy_http2.c b/modules/http2/mod_proxy_http2.c index 2208707990..83ae431c87 100644 --- a/modules/http2/mod_proxy_http2.c +++ b/modules/http2/mod_proxy_http2.c @@ -403,6 +403,14 @@ run_connect: */ apr_table_setn(ctx->p_conn->connection->notes, "proxy-request-alpn-protos", "h2"); + if (ctx->p_conn->ssl_hostname) { + ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, ctx->owner, + "set SNI to %s for (%s)", + ctx->p_conn->ssl_hostname, + ctx->p_conn->hostname); + apr_table_setn(ctx->p_conn->connection->notes, + "proxy-request-hostname", ctx->p_conn->ssl_hostname); + } } if (ctx->master->aborted) goto cleanup; |