-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
varnishd command line syntax for pluggable acceptors? #4169
Comments
bugwash: phk is for not adding I still think that using -E to load extensions and then use a consistent |
We add [%kind,] to the acceptor command line options to select the acceptor implementation. The syntax is now: [name=][%<kind>,][listen_address[,PROTO|,option=value,...]] Reasons are explained in varnishcache#4169
I've settled on suggesting
now. Reasons:
I did look at other alternatives, such as:
The implementation has been added to #4172 because plugging an acceptor is the basis for the test of this option. |
We add [%kind,] to the acceptor command line options to select the acceptor implementation. The syntax is now: [name=][%<kind>,][listen_address[,PROTO|,option=value,...]] Reasons are explained in varnishcache#4169
Working on a continuation of #3976 the question arose which command line syntax we want for pluggable acceptors. I see two basic options:
-a
here, kind would be the acceptor kind, so a valid use case would be
-a foo=tcp,127.0.0.1:4444
-A
, where kind is mandatoryI like to avoid adding new options, but the first option comes with some ambiguity:
could mean
or
and, because of backwards compatibility, the error message might be confusing:
This can be tried out here: nigoroll@fe32476
The text was updated successfully, but these errors were encountered: