summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_compress.c5
-rw-r--r--src/mod_expire.c2
-rw-r--r--src/mod_ssi.c2
-rw-r--r--src/plugin.c3
-rw-r--r--src/plugin.h2
5 files changed, 4 insertions, 10 deletions
diff --git a/src/mod_compress.c b/src/mod_compress.c
index a0193f5c..a098ad6a 100644
--- a/src/mod_compress.c
+++ b/src/mod_compress.c
@@ -152,7 +152,7 @@ static int deflate_file_to_buffer_gzip(server *srv, connection *con, plugin_data
unsigned char *c;
unsigned long crc;
z_stream z;
-
+
UNUSED(srv);
UNUSED(con);
@@ -575,7 +575,6 @@ PHYSICALPATH_FUNC(mod_compress_physical) {
mod_compress_patch_connection(srv, con, p);
-
max_fsize = p->conf.compress_max_filesize;
stat_cache_get_entry(srv, con, con->physical.path, &sce);
@@ -719,7 +718,7 @@ int mod_compress_plugin_init(plugin *p) {
p->init = mod_compress_init;
p->set_defaults = mod_compress_setdefaults;
- p->handle_physical_path = mod_compress_physical;
+ p->handle_subrequest_start = mod_compress_physical;
p->cleanup = mod_compress_free;
p->data = NULL;
diff --git a/src/mod_expire.c b/src/mod_expire.c
index 62a18fa3..261ed325 100644
--- a/src/mod_expire.c
+++ b/src/mod_expire.c
@@ -346,7 +346,7 @@ int mod_expire_plugin_init(plugin *p) {
p->name = buffer_init_string("expire");
p->init = mod_expire_init;
- p->handle_physical_path = mod_expire_path_handler;
+ p->handle_subrequest_start = mod_expire_path_handler;
p->set_defaults = mod_expire_set_defaults;
p->cleanup = mod_expire_free;
diff --git a/src/mod_ssi.c b/src/mod_ssi.c
index af70e36c..d4d3fe5f 100644
--- a/src/mod_ssi.c
+++ b/src/mod_ssi.c
@@ -1054,7 +1054,7 @@ int mod_ssi_plugin_init(plugin *p) {
p->name = buffer_init_string("ssi");
p->init = mod_ssi_init;
- p->handle_physical_path = mod_ssi_physical_path;
+ p->handle_subrequest_start = mod_ssi_physical_path;
p->set_defaults = mod_ssi_set_defaults;
p->cleanup = mod_ssi_free;
diff --git a/src/plugin.c b/src/plugin.c
index d861b918..c3d87f13 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -32,7 +32,6 @@ typedef enum {
PLUGIN_FUNC_UNSET,
PLUGIN_FUNC_HANDLE_URI_CLEAN,
PLUGIN_FUNC_HANDLE_URI_RAW,
- PLUGIN_FUNC_HANDLE_PHYSICAL_PATH,
PLUGIN_FUNC_HANDLE_REQUEST_DONE,
PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE,
PLUGIN_FUNC_HANDLE_TRIGGER,
@@ -246,7 +245,6 @@ int plugins_load(server *srv) {
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean)
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw)
-PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_PHYSICAL_PATH, handle_physical_path)
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done)
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close)
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_SUBREQUEST, handle_subrequest)
@@ -374,7 +372,6 @@ handler_t plugins_call_init(server *srv) {
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean);
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw);
- PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_PHYSICAL_PATH, handle_physical_path);
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done);
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close);
PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_TRIGGER, handle_trigger);
diff --git a/src/plugin.h b/src/plugin.h
index dd2b59a9..b43129a1 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -41,7 +41,6 @@ typedef struct {
handler_t (* handle_uri_raw) (server *srv, connection *con, void *p_d); /* after uri_raw is set */
handler_t (* handle_uri_clean) (server *srv, connection *con, void *p_d); /* after uri is set */
handler_t (* handle_docroot) (server *srv, connection *con, void *p_d); /* getting the document-root */
- handler_t (* handle_physical_path) (server *srv, connection *con, void *p_d); /* after the physical path is set */
handler_t (* handle_physical) (server *srv, connection *con, void *p_d); /* mapping url to physical path */
handler_t (* handle_request_done) (server *srv, connection *con, void *p_d); /* at the end of a request */
handler_t (* handle_connection_close)(server *srv, connection *con, void *p_d); /* at the end of a connection */
@@ -74,7 +73,6 @@ handler_t plugins_call_handle_docroot(server *srv, connection *con);
handler_t plugins_call_handle_physical(server *srv, connection *con);
handler_t plugins_call_handle_connection_close(server *srv, connection *con);
handler_t plugins_call_handle_joblist(server *srv, connection *con);
-handler_t plugins_call_handle_physical_path(server *srv, connection *con);
handler_t plugins_call_connection_reset(server *srv, connection *con);
handler_t plugins_call_handle_trigger(server *srv);