]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix handling of backend connection failing over TCP 7979/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 25 Jun 2019 08:42:59 +0000 (10:42 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 25 Jun 2019 08:42:59 +0000 (10:42 +0200)
commit3aecb509a7cb864cfdf17b72d8336822d93eb0c2
tree01cea25bfe2c7b533c7c275f28466b657ec429a0
parentd0283b330465ee714fff20fb5cc24bd844c1be71
dnsdist: Fix handling of backend connection failing over TCP

- The creation of the Socket object can throw if we run out of file
descriptors ;
- Catch exceptions thrown from setupTCPDownstream() earlier, we don't
care why it failed later, only that it did.
pdns/dnsdist-tcp.cc