ASF Bugzilla – Attachment 32144 Details for
Bug 57139
mod_proxy uses wrong Host header when using an HTTPS proxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
PatchAvailable
apache-https-backend-through-proxy.diff (text/plain), 719 bytes, created by
Szabolcs Gyurko
on 2014-10-24 18:03:30 UTC
(
hide
)
Description:
PatchAvailable
Filename:
MIME Type:
Creator:
Szabolcs Gyurko
Created:
2014-10-24 18:03:30 UTC
Size:
719 bytes
patch
obsolete
>diff -Nru apache2-2.4.10.orig/modules/proxy/proxy_util.c apache2-2.4.10/modules/proxy/proxy_util.c >--- apache2-2.4.10.orig/modules/proxy/proxy_util.c 2014-07-15 17:11:04.000000000 +0100 >+++ apache2-2.4.10/modules/proxy/proxy_util.c 2014-10-24 16:33:34.019113850 +0100 >@@ -2365,7 +2365,11 @@ > ssl_hostname = r->hostname; > } > else { >- ssl_hostname = conn->hostname; >+ if (conn->forward && ((forward_info *)(conn->forward))->use_http_connect) { >+ ssl_hostname = ((forward_info *)conn->forward)->target_host; >+ } else { >+ ssl_hostname = conn->hostname; >+ } > } > /* > * Close if a SNI is in use but this request requires no or
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57139
: 32144