mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 20:22:39 +02:00
Revert "MINOR: filter: "filter" requires TCP or HTTP mode"
This reverts commit f9422551cd since we
cannot perform the test during parsing as the effective proxy mode is
not yet known.
This commit is contained in:
committed by
Willy Tarreau
parent
c8948fb7ac
commit
42d7d1bd47
@@ -201,11 +201,6 @@ parse_filter(char **args, int section_type, struct proxy *curpx,
|
||||
file, line, args[0]);
|
||||
return -1;
|
||||
}
|
||||
if (curpx->mode != PR_MODE_TCP && curpx->mode != PR_MODE_HTTP) {
|
||||
memprintf(err, "parsing [%s:%d] : '%s' requires TCP or HTTP mode.",
|
||||
file, line, args[0]);
|
||||
return -1;
|
||||
}
|
||||
if (strcmp(args[0], "filter") == 0) {
|
||||
struct flt_kw *kw;
|
||||
int cur_arg;
|
||||
|
||||
Reference in New Issue
Block a user