]> granicus.if.org Git - apache/commitdiff
merged 1703871 by Yann for SNI misdirect handling
authorStefan Eissing <icing@apache.org>
Sat, 19 Sep 2015 11:52:56 +0000 (11:52 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 19 Sep 2015 11:52:56 +0000 (11:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703994 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index 73f904c50d2dbe4a6e9e3011fd6c4e7d18c13b22..aef6b465350d0fc70cd4d0db46c64114bc6e8f50 100644 (file)
@@ -845,6 +845,11 @@ int ssl_hook_Access(request_rec *r)
                 r->connection->keepalive = AP_CONN_CLOSE;
                 return HTTP_FORBIDDEN;
             }
+
+            /* Full renegotiation successfull, we now have handshaken with
+             * this server's parameters.
+             */
+            sslconn->server = r->server;
         }
 
         /*