summaryrefslogtreecommitdiff
path: root/src/mod_proxy.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-01-08 23:53:06 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:29 -0400
commit100dfaa3f3785704d2df264e27ab698e27272687 (patch)
tree06708f873e07c837ef35b5d85533993f043037d0 /src/mod_proxy.c
parent8131e4396dcec676d8e7b681cee10003f1c4fefd (diff)
downloadlighttpd-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.c2
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;