MEDIUM: proxy: make timeout parser a bit stricter
authorWilly Tarreau <w@1wt.eu>
Thu, 22 May 2014 06:24:46 +0000 (08:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 May 2014 06:26:41 +0000 (08:26 +0200)
commitfac5b5956b84e40358a7a3162be654baddc24e25
tree97427dc632576ea083b2ef422f9a8bc710c41c3a
parentefe282260e40b00f7ec7100d61a79a6d20f244b8
MEDIUM: proxy: make timeout parser a bit stricter

Twice in a week I found people were surprized by a "conditional timeout" not
being respected, because they add "if <cond>" after a timeout, and since
they don't see any error nor read the doc, the expect it to work. Let's
make the timeout parser reject extra arguments to avoid these situations.
src/proxy.c