summaryrefslogtreecommitdiff
path: root/src/mod_fastcgi.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_fastcgi.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_fastcgi.c')
-rw-r--r--src/mod_fastcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_fastcgi.c b/src/mod_fastcgi.c
index 2e1a174a..873ed738 100644
--- a/src/mod_fastcgi.c
+++ b/src/mod_fastcgi.c
@@ -504,7 +504,7 @@ static handler_t fcgi_check_extension(connection *con, void *p_d, int uri_path_h
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->opts.backend = BACKEND_FASTCGI;
hctx->opts.parse = fcgi_recv_parse;
hctx->opts.pdata = hctx;