Project

General

Profile

Actions

Feature #1353

closed

Improving the -t command line option to warn about unknown and depecated options

Added by Anonymous over 16 years ago. Updated over 7 years ago.

Status:
Obsolete
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

I just tried to start r1992 using a config file that contained the deprecated proxy-core.check-local option, which made it fail to start. However, I only got the error message when starting with the -D option; using -t to check the config file didn't tell me about it as the pure syntax of the file was ok.

It like to see the -t option enhanced so that it:

1. Performs the current test

2. If that passes, then loads the configured modules

3. Then checks that all options in the configuration file have actually been registered by a module and are not deprecated

4. If this also passes, calls a "test" API function in each loaded module for the module to test for problems specific to its configuration such as nonsensical combinations of configuration options.

Actions #1

Updated by jrabbit over 16 years ago

Oops - forgot to login before reporting this.

Actions #2

Updated by gstrauss over 7 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes

lighttpd 1.4.40 has the -tt option to do all of the above, except for the additional non-existent "test" API

Actions #3

Updated by gstrauss over 7 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom