]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: kqueue: Don't reset the changes number by accident.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 11 Sep 2018 12:44:51 +0000 (14:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Sep 2018 12:53:00 +0000 (14:53 +0200)
commit5ab33944cd7a978c9a30ee6823bdf58e90c0abdb
treedb667bae8fb91afb6a47755d3c2f46b85d317db3
parentab813a4b053c73df13b7980d37a782ebff772a9b
BUG/MAJOR: kqueue: Don't reset the changes number by accident.

In _update_fd(), if the fd wasn't polled, and we don't want it to be polled,
we just returned 0, however, we should return changes instead, or all previous
changes will be lost.

This should be backported to 1.8.
src/ev_kqueue.c