MINOR server: Restrict dynamic cookie check to the same proxy.
authorOlivier Houchard <cognet@ci0.org>
Tue, 4 Apr 2017 20:10:36 +0000 (22:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Apr 2017 13:20:11 +0000 (15:20 +0200)
commitb4a2d5e19a06225fd5b07632354314bc8d35a2d6
treea18e3ab1238e1d45ac51c077f8e572aaae1ebacb
parentc28bb55cdc554549a59f92997ebe7abf8d4612fe
MINOR server: Restrict dynamic cookie check to the same proxy.

Each time we generate a dynamic cookie, we try to make sure the same
cookie hasn't been generated for another server, it's very unlikely, but
it may happen.
We only have to check that for the servers in the same proxy, no, need to
check in others, plus the code was buggy and would always check in the
first proxy of the proxy list.
src/server.c