]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] wqueue: perform proper timeout comparisons with wrapping values
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Jun 2008 08:25:57 +0000 (10:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Jun 2008 08:32:02 +0000 (10:32 +0200)
commite62bdd40268d8f268e694cace998537f4cc0f508
treeeb58e25474259f1ba2f196964f26e42adc1da7af
parentaccc4e1e8678e588db6c2f98a52e788d8600cfaa
[BUG] wqueue: perform proper timeout comparisons with wrapping values

With wrapping keys, we cannot simply do "if (key > now)", but
we must at least do "if ((signed)(key-now) > 0)".
src/task.c