mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
Revert "MINOR: fcgi-app: "use-fcgi-app" requires TCP or HTTP mode"
This reverts commit 0ba731f50b4e6b75d32ddf8388fe32fad5cfadf3 since we cannot perform the test during parsing as the effective proxy mode is not yet known.
This commit is contained in:
parent
7d59730100
commit
0f9b475333
@ -591,12 +591,6 @@ static int proxy_parse_use_fcgi_app(char **args, int section, struct proxy *curp
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (curpx->mode != PR_MODE_TCP && curpx->mode != PR_MODE_HTTP) {
|
||||
memprintf(err, "'%s' requires TCP or HTTP mode", args[0]);
|
||||
retval = -1;
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!*(args[1])) {
|
||||
memprintf(err, "'%s' expects <name> as argument", args[0]);
|
||||
retval = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user