From: Willy Tarreau Date: Tue, 27 Apr 2010 20:19:14 +0000 (+0200) Subject: [MINOR] option http-pretend-keepalive is both for FEs and BEs X-Git-Tag: v1.4.5~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e52564c4dd3965837277ebd5f3c6daf177e28dda;p=thirdparty%2Fhaproxy.git [MINOR] option http-pretend-keepalive is both for FEs and BEs The config parser only accepted it in frontends. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index ebba4dfb3b..0e36050947 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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 } };