]> granicus.if.org Git - apache/blobdiff - modules/proxy/proxy_util.c
let proxy handler forward ALPN protocol strings for ssl proxy connections
[apache] / modules / proxy / proxy_util.c
index 2b8b73d4dccf1c539d5bb29d801c3673c0a75578..c4112d5c1f4d9ffc16a663aa844f5d2825102d8b 100644 (file)
@@ -2717,6 +2717,8 @@ PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function,
 
     if (conn->sock) {
         if (!(connected = ap_proxy_is_socket_connected(conn->sock))) {
+            /* FIXME: this loses conn->ssl_hostname and it will not be
+             * restablished before the SSL connection is made -> no SNI! */
             socket_cleanup(conn);
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(00951)
                          "%s: backend socket is disconnected.",