{"action":"closed","issue":{"url":"https://api.github.com/repos/dschneller/haproxy-http-based-rate-limiting/issues/1","labels_url":"https://api.github.com/repos/dschneller/haproxy-http-based-rate-limiting/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dschneller/haproxy-http-based-rate-limiting/issues/1/comments","events_url":"https://api.github.com/repos/dschneller/haproxy-http-based-rate-limiting/issues/1/events","html_url":"https://github.com/dschneller/haproxy-http-based-rate-limiting/issues/1","id":93553386,"number":1,"title":"Counter not increasing","user":{"login":"ghost974","id":3496252,"avatar_url":"https://avatars.githubusercontent.com/u/3496252?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost974","html_url":"https://github.com/ghost974","followers_url":"https://api.github.com/users/ghost974/followers","following_url":"https://api.github.com/users/ghost974/following{/other_user}","gists_url":"https://api.github.com/users/ghost974/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost974/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost974/subscriptions","organizations_url":"https://api.github.com/users/ghost974/orgs","repos_url":"https://api.github.com/users/ghost974/repos","events_url":"https://api.github.com/users/ghost974/events{/privacy}","received_events_url":"https://api.github.com/users/ghost974/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T15:08:20Z","updated_at":"2015-07-07T16:45:38Z","closed_at":"2015-07-07T16:45:38Z","body":"Hello,\r\n\r\nI'm trying to implement a similar kind of throttling and I'm not having the expected result :\r\nI have lowered the threshold to something very low, 5 reqs in 10 sec.\r\n\r\n In my frontend : \r\n```\r\ntcp-request inspect-delay 5s\r\nacl is_sys path_beg -i /sys\r\nacl too_many_req sc0_gpc0_rate() gt 5\r\nacl mark_seen sc0_inc_gpc0 gt 0\r\nstick-table type string size 100k store gpc0_rate(10s)\r\ntcp-request content track-sc0 hdr(Authorization) if METH_GET is_sys\r\nuse_backend slow_down if too_many_req mark_seen\r\n[...]\r\n\r\nbackend slow_down\r\n  mode http\r\n  timeout tarpit 2s\r\n  http-request tarpit\r\n```\r\nI start sending some concurrent requests (20 concurrent, average of 50req/s) and do a show table :\r\n```\r\n0xe3663c: key=Basic\\ xxxxxxxxxxxxxx use=0 exp=0 gpc0_rate(10000)=0\r\n```\r\nIt stays like that and do not increase. It seems like the mark_seen acl is not kicking in or something, any idea ?\r\n\r\nThanks\r\n\r\n\r\n\r\n"}}