CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/25 10:10:05
Modified files:
lib/libevent : kqueue.c
Log message:
revert change to call kevent immediately.
tcpbench (at a minimum) relies on the old behavior of changes all happening
after all event handlers run. in particular, it resets the event for the
listening socket *before* calling accept(), when it is still readable.
kevent then (correctly) says it is readable on the next go through the loop.
silly, subtle, and stupid.
problem reported by kettenis