]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: spoe: Make the SPOE filter compatible with HTX proxies
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 9 Jan 2019 14:05:10 +0000 (15:05 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Jan 2019 09:52:28 +0000 (10:52 +0100)
There is any specific HTTP processing in the SPOE. So there is no reason to not
use it on HTX proxies.

This patch may be backported to 1.9.

src/flt_spoe.c

index bd351be18059935e3a8f240fdcc9a7f7b47d9091..4cf9237fb690edd5f8fba3d7e70df6058268a2c6 100644 (file)
@@ -2998,6 +2998,7 @@ spoe_init(struct proxy *px, struct flt_conf *fconf)
                sighandler_registered = 1;
        }
 
+       fconf->flags |= FLT_CFG_FL_HTX;
        return 0;
 }