title: haproxy 1.8 sc0_get_gpc0 activate acl from bad request count
body: <p>I'm running HAproxy 1.8 and trying to track a general counter with a stick-table, but each time it's called by the ACL it isn't returning true.</p>
  
  <p>My expectations are; once the counter goes above 5 the ACL will cause it to go to a different backend. What could be going wrong?</p>
  
  <pre><code># default block configs are set to http settings
  
  frontend my_service
    bind *:80
    tcp-request inspect-delay 5s
  
    acl bad_request sc0_get_gpc0(my_service_bk) gt 5
    use_backend my_service_bad_bk if bad_request
  
    default_backend my_service
  backend my_service_bad_bk
    errorfile 503 /etc/haproxy/429.http
  backend my_service
    http-request track-sc0 req.fhdr(X-My-Service)
    http-response sc-inc-gpc0 if { status gt 399 }
    stick-table type string len 350 size 10m expire 10m store gpc0
  
    balance roundrobin
    server .....
    server .....
  </code></pre>
  
  <p>I look up the stick-table stats and it shows this after 6 requests:</p>
  
  <pre><code>0x7f2279cdsa42: key=test use=0 exp=278850 gpc0=6
  </code></pre>
  
  <p>And it still sends it to the wrong backend (<code>my_service</code>)</p>