..physical_path is gone and has ben replaced by subrequest_start
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@532 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
9238cad69e
commit
f926c361f9
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue