]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] option http-pretend-keepalive is both for FEs and BEs
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Apr 2010 20:19:14 +0000 (22:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Apr 2010 20:19:14 +0000 (22:19 +0200)
The config parser only accepted it in frontends.

src/cfgparse.c

index ebba4dfb3b0b67a4ff9a96fcbc4b45d4f3a90e4e..0e36050947d0b2f95950c6fe1f4fbc8955b5bbb8 100644 (file)
@@ -150,7 +150,7 @@ static const struct cfg_opt cfg_opts2[] =
        { "tcp-smart-connect",            PR_O2_SMARTCON,  PR_CAP_BE, 0, 0 },
        { "independant-streams",          PR_O2_INDEPSTR,  PR_CAP_FE|PR_CAP_BE, 0, 0 },
        { "http-use-proxy-header",        PR_O2_USE_PXHDR, PR_CAP_FE, 0, PR_MODE_HTTP },
-       { "http-pretend-keepalive",       PR_O2_FAKE_KA,   PR_CAP_FE, 0, PR_MODE_HTTP },
+       { "http-pretend-keepalive",       PR_O2_FAKE_KA,   PR_CAP_FE|PR_CAP_BE, 0, PR_MODE_HTTP },
        { NULL, 0, 0, 0 }
 };