]> git.kaiwu.me - haproxy.git/commit
MINOR: sample: add a rand() sample fetch to return a sample.
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Feb 2014 10:59:04 +0000 (11:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Feb 2014 10:59:04 +0000 (11:59 +0100)
commit84310e2e731dbb6592cc063ae1c42ffc6b5f6e08
treea03cb8e92553e2f68fbac08425717011870ab0ff
parent610f04bbf6b9fa437101f376425e3f27ffef71d3
MINOR: sample: add a rand() sample fetch to return a sample.

Sometimes it can be useful to generate a random value, at least
for debugging purposes, but also to take routing decisions or to
pass such a value to a backend server.
doc/configuration.txt
src/haproxy.c
src/sample.c