Closed ThijsFeryn closed 3 years ago
agreed, I've been bit by that one, notably for the daemon
option
I've added https://github.com/varnish/hitch/commit/b897a4b7241a6fe341ebdcf7e7c6a8132af3c177 which should take care of this.
For --tls
/--ssl
I'll deal with that separate as part of the fix for #340.
The current implementation of Hitch doesn't allow CLI flags like
--write-proxy-v2
to accepton/off
values.It would be nice to set the following:
This shouldn't be a backwards compatibility break, because the original value
--write-proxy-v2
will still work.The desired outcome is to be able to set both
on
andoff
for any CLI option that doesn't yet accept values:--tls
--ssl
--client
--quiet
--syslog
--daemon
--write-ip
--write-proxy-v1
--write-proxy-v2
--write-proxy
--write-proxy-proxy
--sni-nomatch-abort