]> granicus.if.org Git - pdns/commit
dnsdist: Prevent the use of "any" addresses for downstream server
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Jul 2016 13:00:26 +0000 (15:00 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Jul 2016 13:00:26 +0000 (15:00 +0200)
commit557d7631d26e51415a3ba5efbe8dff7b058d0508
treefb71621dd761cdfa680045608626dc2db46f07e4
parent41f6e66b8a15cf60f539f3bcbf8c4cdce6a87f7d
dnsdist: Prevent the use of "any" addresses for downstream server

Otherwise the corresponding `DownstreamState`'s FD is -1 (needed
for 'client' mode) and we loop endlessly on `recvfrom()` returning -1.
Reported by Sander Smeenk.
pdns/dnsdist-lua.cc