Hi,
I was a bit surprised that a config file below did pass the validation
done with "haproxy -c -f config_file" using HA-Proxy version 1.3.22
2009/10/14 and the current latest HA-Proxy version 1.5-dev2 2010/08/28.
I wouldn't have spotted it if I weren't writing a simple parser for the
HAProxy config file's grammar and one of my tests stubbornly didn't want
to fail even though I was feeding it with what I thought was an invalid
config :-)
What do you think of it?
# ####################
global
log 127.0.0.1:514 local0 debug
defaults
log global
timeout connect 5000
timeout client 5000
timeout server 5000
backend bck1
server server1 10.152.17.13:17093 check inter 2saaaaaa rise 2aaaa
fall 2xaaaaaaaaaaaa
frontend front1
mode tcp
default_backend bck1
bind 0.0.0.0:27025
maxconn 300
# ####################
cheers,
--
Dariusz Suchojad