BUG/MEDIUM: cli/threads: protect all "proxy" commands against concurrent updates
authorWilly Tarreau <w@1wt.eu>
Tue, 21 Aug 2018 12:50:44 +0000 (14:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Aug 2018 12:58:25 +0000 (14:58 +0200)
commita275a3710eaa365150fe89e2e7a8fbdce87bb30e
tree5173db27e68014d59da4e2bea8d6d27969762b52
parenteeba36b3af34d2f1daf25f64bae24142a6efe63e
BUG/MEDIUM: cli/threads: protect all "proxy" commands against concurrent updates

The proxy-related commands like "{enable|disable|shutdown} frontend",
"{enable|disable} dynamic-cookie", "set dynamic-cookie-key" were not
protected against concurrent accesses making their use dangerous with
threads.

This patch must be backported to 1.8.
src/proxy.c