]> git.kaiwu.me - haproxy.git/commit
[BUG] fix wrong timeout computation in event_accept()
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2007 18:36:37 +0000 (20:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 12:49:52 +0000 (14:49 +0200)
commit5211add1fc76733b3b47de92cdfb2bbecc33bd49
tree0eeb4162abc8bae7319488cb4f6a128570a03156
parent04ebd52b42f9ba76472d5ef3ed874a0f390e0fff
[BUG] fix wrong timeout computation in event_accept()

In case the incoming socket is set for write and not for read (very
unlikely, except in HEALTH mode), the timeout may remain eternity due
to a copy-paste typo.
src/client.c