]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Without reuseport, every listener thread watches all TCP sockets 6850/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 17 Aug 2018 09:03:38 +0000 (11:03 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 17 Aug 2018 09:03:38 +0000 (11:03 +0200)
commitc47f201bea24deae77dba39cf86df25d5d4ae0be
tree43ec9d2c57af923fbf360ce81dbbf3732afc051d
parentadb6cd72c33eadaa60db7abdddea5ff1d29cf51b
rec: Without reuseport, every listener thread watches all TCP sockets

So we simply add all TCP sockets to the list watched by these threads
instead of using a separate variable, to make it easier to read later
on.
pdns/pdns_recursor.cc