Unknown option 'http-buffer-request'

Upgrading from 1.6.9 on CentOS 6 x86 to 1.8.5 on CentOS 6 x86_64 I get the following error:

$ sudo service haproxy check
[ALERT] 087/152144 (4953) : parsing [/etc/haproxy/haproxy.cfg:46] : unknown option ‘http-buffer-request’.
[ALERT] 087/152144 (4953) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
[ALERT] 087/152144 (4953) : Fatal errors found in configuration.

Steps:
wget http://www.haproxy.org/download/1.8/src/haproxy-1.8.5.tar.gz
make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
sudo make install

I am using the same config as version 1.6.9 and the docs for 1.8 still refer to option ‘http-buffer-request’.

Any ideas what I’m missing? Let me know if you need more info.

Thanks!

Bypass the startup scripts and share:

haproxy -vv
haproxy -c -f /etc/haproxy/haproxy.cfg

Your suggestions help me find the problem!

The “haproxy -c -f /etc/haproxy/haproxy.cfg” command returned no errors, but “service haproxy check” did return errors.

Turns out I had an RPM install of haproxy 1.5.18 that was being called by the service check command. I removed that RPM and updated with init script with the examples/haproxy.init file and everything is working.

Thanks!