diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-07-17 17:54:58 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-07-17 17:54:58 -0600 |
commit | 246a31aacd7159acc009ff6d6497596a96533f73 (patch) | |
tree | 0cf0dbbec26b8f4e287c0f8808df2983398e10f3 /modules/caddyhttp/replacer.go | |
parent | 0665a86eb72a178a42741d477b765169d7423fd8 (diff) |
reverseproxy: Restore request's original host and header (fix #3509)
We already restore them within the retry loop, but after successful
proxy we didn't reset them, so as handlers bubble back up, they would
see the values used for proxying.
Thanks to @ziddey for identifying the cause.
Diffstat (limited to 'modules/caddyhttp/replacer.go')
0 files changed, 0 insertions, 0 deletions