]> git.ipfire.org Git - thirdparty/pdns.git/commit
Consistently return the number of ready events, not descriptor
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Aug 2021 06:50:55 +0000 (08:50 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Aug 2021 06:50:55 +0000 (08:50 +0200)
commitc7a9f1b415f873568e8bd0839d1b272433e4558a
tree8c61b5d77ef5747eab0dcd2896ae290460a0c753
parenta8c536e485fb738aed5c25ce87745ffaf10f157f
Consistently return the number of ready events, not descriptor

We might have two events for the same descriptor, readable AND
writable. It was already counted as two separate events by the
kqueue multiplexer but not by the other ones.
pdns/devpollmplexer.cc
pdns/epollmplexer.cc
pdns/mplexer.hh
pdns/pollmplexer.cc
pdns/portsmplexer.cc
pdns/test-mplexer.cc