commit | 061766859cc25183634daec39b5f390752c501b0 | [log] [tgz] |
---|---|---|
author | Daniel Corbett <dcorbett@haproxy.com> | Tue Jun 11 10:04:15 2019 -0400 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 11 19:27:42 2019 +0200 |
tree | fe8566aea8413220fef4fb3dee8fd04c85eee46f | |
parent | 4e0fa55dcd5c1fd7ac113cce866759b1010ddf2d [diff] |
MINOR: contrib/spoa_server: Add random IP score The example configuration uses sess.ip_score however this variable is not referenced within the example scripts. This patch adds support for sess.ip_score to the python + lua scripts and generates a random number between 1 and 100.