Browse Source

[multiple] warn deprecated mods slated for removal

issue warning to error log for deprecated modules slated for removal
master
Glenn Strauss 3 months ago
parent
commit
f71b048160
  1. 6
      src/mod_authn_mysql.c
  2. 6
      src/mod_cml.c
  3. 6
      src/mod_flv_streaming.c
  4. 6
      src/mod_geoip.c
  5. 6
      src/mod_mysql_vhost.c

6
src/mod_authn_mysql.c

@ -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;
}

6
src/mod_cml.c

@ -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;
}

6
src/mod_flv_streaming.c

@ -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;
}

6
src/mod_geoip.c

@ -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;
}

6
src/mod_mysql_vhost.c

@ -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