commit | bdefc513a04c2189745933bc73815f81fc637233 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 14 02:02:04 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 14 02:02:04 2007 +0200 |
tree | b97fe52087fcae66ed39a4a89beb90725fe569c4 | |
parent | aff694f3b65332324c9afd2ec5ed112e2aabb52e [diff] |
[BUG] fix null timeouts in *poll-based pollers Introduction of timeval timers broke *poll-based pollers, because the call to tv_ms_remain may return 0 while the event is not elapsed yet. Now we carefully check for those cases and round the result up by 1 ms.