diff options
author | Stefan Bühler <stbuehler@web.de> | 2018-08-18 14:29:36 +0200 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2018-08-18 14:29:36 +0200 |
commit | 35fb87a8d8f5d650b0b21c65e42fcfb7534d5fb4 (patch) | |
tree | 6d7e50699150a07e1220774cc420d731d3425612 | |
parent | 2c7d70eddbb7f3adcdadd507c362463345e6bee1 (diff) | |
download | lighttpd-git-personal/stbuehler/1.4.48-mod-proxy-fix.tar.gz |
[mox_proxy] copy patched config data to gw contextpersonal/stbuehler/1.4.48-mod-proxy-fix
-rw-r--r-- | src/mod_proxy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mod_proxy.c b/src/mod_proxy.c index 8ea72a05..6af3fe3d 100644 --- a/src/mod_proxy.c +++ b/src/mod_proxy.c @@ -966,6 +966,11 @@ static handler_t mod_proxy_check_extension(server *srv, connection *con, void *p if (con->mode == p->id) { handler_ctx *hctx = con->plugin_ctx[p->id]; + hctx->conf.forwarded_params = p->conf.forwarded_params; + hctx->conf.header_params = p->conf.header_params; + hctx->conf.replace_http_host = p->conf.replace_http_host; + hctx->conf.forwarded = p->conf.forwarded; + hctx->conf.header = p->conf.header; hctx->gw.create_env = proxy_create_env; hctx->gw.response = buffer_init(); hctx->gw.opts.backend = BACKEND_PROXY; |