summaryrefslogtreecommitdiff
path: root/bufferevent_filter.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-02-23 14:24:10 -0500
committerNick Mathewson <nickm@torproject.org>2010-02-23 15:20:33 -0500
commit38ec0a773b73375410cbb5a4eaeece3d0ab1caa0 (patch)
tree667230afbf0fc98954549baaf1832ba7ee41d8ee /bufferevent_filter.c
parente2642f0a880dcee81114c1c25766f0380672ee30 (diff)
downloadlibevent-38ec0a773b73375410cbb5a4eaeece3d0ab1caa0.tar.gz
Fix a bug in resetting timeouts on persistent events when IO triggers.
When we fixed persistent timeouts to make them reset themselves based on the previous scheduled time rather than the current time... we made them do so regardless of whether the event was triggering because of a timeout or not! This was of course bogus. When a _timeout_ triggers, we should schedule the event for N seconds based on the last _schedule_ time... but when IO triggers, we should reset the timeout for N seconds after now.
Diffstat (limited to 'bufferevent_filter.c')
0 files changed, 0 insertions, 0 deletions