From 0f9b475333b21d16cd2f9a7f790f4cd0a8c11b5f Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Fri, 17 Nov 2023 18:05:10 +0100 Subject: [PATCH] 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. --- src/fcgi-app.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/fcgi-app.c b/src/fcgi-app.c index a182c764da..00562f80dd 100644 --- a/src/fcgi-app.c +++ b/src/fcgi-app.c @@ -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 as argument", args[0]); retval = -1; -- 2.47.2