View | Details | Raw Unified | Return to bug 57139
Collapse All | Expand All

(-)apache2-2.4.10.orig/modules/proxy/proxy_util.c (-1 / +5 lines)
Lines 2365-2371 Link Here
2365
            ssl_hostname = r->hostname;
2365
            ssl_hostname = r->hostname;
2366
        }
2366
        }
2367
        else {
2367
        else {
2368
            ssl_hostname = conn->hostname;
2368
	    if (conn->forward && ((forward_info *)(conn->forward))->use_http_connect) {
2369
	        ssl_hostname = ((forward_info *)conn->forward)->target_host;
2370
	    } else {
2371
                ssl_hostname = conn->hostname;
2372
	    }
2369
        }
2373
        }
2370
        /*
2374
        /*
2371
         * Close if a SNI is in use but this request requires no or
2375
         * Close if a SNI is in use but this request requires no or

Return to bug 57139