[multiple] warn deprecated mods slated for removal

issue warning to error log for deprecated modules slated for removal
master
Glenn Strauss 1 year ago
parent fe055165d8
commit f71b048160

@ -290,6 +290,12 @@ SETDEFAULTS_FUNC(mod_authn_mysql_set_defaults) {
mod_authn_mysql_merge_config(&p->defaults, cpv);
}
log_error(srv->errh, __FILE__, __LINE__,
"Warning: mod_%s is deprecated "
"and will be removed from a future lighttpd release in early 2022. "
"https://wiki.lighttpd.net/Docs_ModAuth#mysql-mod_authn_mysql-since-lighttpd-1442",
p->self->name);
return HANDLER_GO_ON;
}

@ -172,6 +172,12 @@ SETDEFAULTS_FUNC(mod_cml_set_defaults) {
mod_cml_merge_config(&p->defaults, cpv);
}
log_error(srv->errh, __FILE__, __LINE__,
"Warning: mod_%s is deprecated "
"and will be removed from a future lighttpd release in early 2022. "
"https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated",
p->self->name);
return HANDLER_GO_ON;
}

@ -75,6 +75,12 @@ SETDEFAULTS_FUNC(mod_flv_streaming_set_defaults) {
mod_flv_streaming_merge_config(&p->defaults, cpv);
}
log_error(NULL, __FILE__, __LINE__,
"Warning: mod_%s is deprecated "
"and will be removed from a future lighttpd release in early 2022. "
"https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated",
p->self->name);
return HANDLER_GO_ON;
}

@ -203,6 +203,12 @@ SETDEFAULTS_FUNC(mod_geoip_set_defaults) {
mod_geoip_merge_config(&p->defaults, cpv);
}
log_error(srv->errh, __FILE__, __LINE__,
"Warning: mod_%s is deprecated "
"and will be removed from a future lighttpd release in early 2022. "
"https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated",
p->self->name);
return HANDLER_GO_ON;
}

@ -262,6 +262,12 @@ SETDEFAULTS_FUNC(mod_mysql_vhost_set_defaults) {
mod_mysql_vhost_merge_config(&p->defaults, cpv);
}
log_error(srv->errh, __FILE__, __LINE__,
"Warning: mod_%s is deprecated "
"and will be removed from a future lighttpd release in early 2022. "
"https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated",
p->self->name);
return HANDLER_GO_ON;
}

Loading…
Cancel
Save