summaryrefslogtreecommitdiffstats
path: root/changes-entries/pr37355.txt
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2020-09-17 13:31:43 +0200
committerJoe Orton <jorton@apache.org>2020-09-17 13:31:43 +0200
commitc77e6abe3b1d3d612bcf5ce694c8c937cf031fbb (patch)
treedda4b5468d62457485dbc04bb3f66dcea3a5d5a9 /changes-entries/pr37355.txt
parent* modules/dav/fs/repos.c (dav_fs_open_stream): Add specific logs for (diff)
downloadapache2-c77e6abe3b1d3d612bcf5ce694c8c937cf031fbb.tar.xz
apache2-c77e6abe3b1d3d612bcf5ce694c8c937cf031fbb.zip
mod_proxy: Add support for an optional third argument to ProxyRemote*
to configure the Basic auth credentials to send to the remote proxy. (Note that credentials are always sent w/o waiting for a challenge as with proxy-chain-auth, and only Basic is supported - both of which are not exactly ideal - but better than nothing.) * modules/proxy/mod_proxy.h (struct proxy_remote): Add creds field. * modules/proxy/mod_proxy.c (proxy_handler): Pass forward proxy credentials via r->notes. (add_proxy): Take credentials and base64-encode into ->creds field if passed. (add_proxy_noregex, add_proxy_regex): Take optional creds argument. * modules/proxy/proxy_util.c (ap_proxy_determine_connection): Use proxy credentials from r->notes if available. (ap_proxy_create_hdrbrgd): Set Proxy-Authorization header from credentials in r->notes if present. PR: 37355 Github: closes #135 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1881790 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries/pr37355.txt')
-rw-r--r--changes-entries/pr37355.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/changes-entries/pr37355.txt b/changes-entries/pr37355.txt
new file mode 100644
index 0000000000..3fbf5c75b4
--- /dev/null
+++ b/changes-entries/pr37355.txt
@@ -0,0 +1,3 @@
+ *) mod_proxy: Add optional third argument for ProxyRemote, which
+ configures Basic authentication credentials to pass to the remote
+ proxy. PR 37355. [Joe Orton]