diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-01-08 23:53:06 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | 100dfaa3f3785704d2df264e27ab698e27272687 (patch) | |
tree | 06708f873e07c837ef35b5d85533993f043037d0 /src/mod_proxy.c | |
parent | 8131e4396dcec676d8e7b681cee10003f1c4fefd (diff) | |
download | lighttpd-git-100dfaa3f3785704d2df264e27ab698e27272687.tar.gz |
[core] move plugin_ctx into (request_st *)
NB: in the future, a separate plugin_ctx may be needed for
connection-level plugins to keep state across multiple requests
Diffstat (limited to 'src/mod_proxy.c')
-rw-r--r-- | src/mod_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_proxy.c b/src/mod_proxy.c index 0dc3c738..a6aa7f14 100644 --- a/src/mod_proxy.c +++ b/src/mod_proxy.c @@ -1031,7 +1031,7 @@ static handler_t mod_proxy_check_extension(connection *con, void *p_d) { if (HANDLER_GO_ON != rc) return rc; if (con->mode == p->id) { - handler_ctx *hctx = con->plugin_ctx[p->id]; + handler_ctx *hctx = con->request.plugin_ctx[p->id]; hctx->gw.create_env = proxy_create_env; hctx->gw.response = chunk_buffer_acquire(); hctx->gw.opts.backend = BACKEND_PROXY; |