Browse Source

[mox_proxy] copy patched config data to gw context

personal/stbuehler/1.4.48-mod-proxy-fix
Stefan Bühler 3 years ago
parent
commit
35fb87a8d8
  1. 5
      src/mod_proxy.c

5
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;

Loading…
Cancel
Save