Ticket #593 (closed enhancement: worksforme)

Opened 4 years ago

Last modified 4 years ago

Add VCL syntax check option

Reported by: mperham Owned by:
Priority: normal Milestone:
Component: build Version: trunk
Severity: normal Keywords:
Cc:

Description

Apache and nginx both have the "-t" option which will check the syntax of config files and exit, which can be used to prevent deployment of invalid configurations. I'd like to see a similar feature in Varnish. It looks like "-t" is already taken so I would suggest "-c" or '-C' for 'Check configuration'.

Change History

comment:1 Changed 4 years ago by phk

  • Status changed from new to closed
  • Resolution set to worksforme

-C already does that. It spits out the compiled C-code, but only if the VCl code can be compiled.

Note: See TracTickets for help on using tickets.