summaryrefslogtreecommitdiff
path: root/src/plugin.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-01-11 00:54:31 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:29 -0400
commit31d9495330fe6242738cdc873a71153dcb03939a (patch)
tree53873e16b998747723f4c7c59e49108dcabab19b /src/plugin.h
parenteea7cd3c2f576d1cff6850fa208adc5ee00468e5 (diff)
downloadlighttpd-git-31d9495330fe6242738cdc873a71153dcb03939a.tar.gz
[core] store subrequest_handler instead of mode
store pointer to module in handler_module instead of con->mode id
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugin.h b/src/plugin.h
index 4715326c..9b9c58ee 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -69,7 +69,7 @@ struct plugin {
handler_t (* handle_connection_shut_wr)(connection *con, void *p_d); /* done writing to socket */
handler_t (* handle_connection_close) (connection *con, void *p_d); /* before close() of socket */
handler_t (* handle_subrequest_start) (connection *con, void *p_d); /* when handler for request not found yet */
- handler_t (* handle_subrequest) (connection *con, void *p_d); /* */
+ handler_t (* handle_subrequest) (connection *con, void *p_d); /* handler for request (max one per request) */
handler_t (* handle_response_start) (connection *con, void *p_d); /* before response headers are written */
handler_t (* connection_reset) (connection *con, void *p_d); /* after request done or request abort */
@@ -97,7 +97,6 @@ void plugins_free(server *srv);
handler_t plugins_call_handle_uri_raw(connection *con);
handler_t plugins_call_handle_uri_clean(connection *con);
handler_t plugins_call_handle_subrequest_start(connection *con);
-handler_t plugins_call_handle_subrequest(connection *con);
handler_t plugins_call_handle_response_start(connection *con);
handler_t plugins_call_handle_request_env(connection *con);
handler_t plugins_call_handle_request_done(connection *con);