mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_proxy: follows up r1572630.
Don't reuse a SSL backend connection with no SNI for a request requiring SNI. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1572967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2367,9 +2367,10 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
|
||||
else {
|
||||
ssl_hostname = conn->hostname;
|
||||
}
|
||||
if (conn->ssl_hostname != NULL &&
|
||||
(!ssl_hostname || strcasecmp(conn->ssl_hostname,
|
||||
ssl_hostname) != 0)) {
|
||||
if (conn->ssl_hostname != NULL
|
||||
? (ssl_hostname == NULL || strcasecmp(conn->ssl_hostname,
|
||||
ssl_hostname) != 0)
|
||||
: (ssl_hostname != NULL && conn->sock)) {
|
||||
socket_cleanup(conn);
|
||||
}
|
||||
if (conn->ssl_hostname == NULL) {
|
||||
|
Reference in New Issue
Block a user