]> git.ipfire.org Git - thirdparty/haproxy.git/commit
url32+src - like base32+src but whole url including parameters
authorNeil - HAProxy List <maillist-haproxy@iamafreeman.com>
Mon, 4 Nov 2013 13:48:42 +0000 (13:48 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 18 Nov 2013 05:50:38 +0000 (06:50 +0100)
commit39c63c56d270f01b31ca47d3c48931c7d68a564e
treebb46c7b2697cf8e54770d84a29e9192fd69179f5
parent3b44e729e5526bf4e05a8451c0f1a81c5c64e451
url32+src - like base32+src but whole url including parameters

I have a need to limit traffic to each url from each source address. much
like base32+src but the whole url including parameters (this came from
looking at the recent 'Haproxy rate limit per matching request' thread)

attached is patch that seems to do the job, its a copy and paste job of the
base32 functions

the url32 function seems to work too and using 2 machines to request the
same url locks me out of both if I abuse from either with the url32 key
function and only the one if I use url32_src.

Neil
src/proto_http.c