]> granicus.if.org Git - pdns/commit
rec: Try another worker before failing if the first pipe was full
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 17 Jan 2019 09:41:33 +0000 (10:41 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 17 Jan 2019 09:41:33 +0000 (10:41 +0100)
commit592d7ade3824a43b20f3b6ad39692415edcbd508
treea676cd0722af532a30e40a5ed197fff59c2b8daa
parente02abfb4251f3a1077e0b8588a1a68a501baa94f
rec: Try another worker before failing if the first pipe was full

When the recursor is configured to distribute incoming queries to
its worker threads itself, and in the unlikely case that the pipe
to the selected thread is full, randomly select another worker to
handle the query. If this one fails too, we give up.
pdns/pdns_recursor.cc