Hello, I cannot reproduce your issue. I try with version 1.4.0 and 1.4.25, this configuration runs with these two versions.
Can you check your haproxy version with "haproxy -v" ? Thierry On Wed, 16 Apr 2014 14:03:36 +0200 Ghislain <[email protected]> wrote: > hi, > > i am trying a very basic haproxy setting on 1.4 and i use a copy paste > from the doc on the tcp-request part: > > > global > log 127.0.0.1 local0 > log 127.0.0.1 local1 notice > maxconn 4096 > user haproxy > group haproxy > daemon > > frontend anciennonhttp > mode tcp > tcp-request inspect-delay 30s > acl content_present req_len gt 0 > tcp-request content accept if content_present > tcp-request content reject > bind my.ip.add.dress:25,my.ip.add.dress:587 > default_backend newnonhttp > > backend newnonhttp > mode tcp > balance roundrobin > source my.ip.add.dress > server nouveauserver 127.0.0.1 maxconn 25 > > > > the result is : > > Restarting haproxy: haproxy[ALERT] 105/121410 (1572) : parsing > [/etc/haproxy/haproxy.cfg:11] : unknown keyword 'tcp-request' in > 'frontend' section > > line 11: > > tcp-request inspect-delay <timeout> > Set the maximum allowed time to wait for data during content inspection > May be used in sections : defaults | frontend | listen | backend > no | yes | yes | no > > > > but this keyword is in the docs since 1.3 so i do not see the issue > there ? > > regards, > Ghislain. >

