From 12a965c5b7c9ad30fa7d634c6b3a17cd2151ba1b Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Mon, 10 Jul 2006 19:50:22 +0000 Subject: [PATCH] fix bug where things would go badly if a remote TCP AXFR client would cause an error at the wrong time. See http://mailman.powerdns.com/pipermail/pdns-users/2006-May/003425.html git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@869 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/tcpreceiver.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 99aa3fb8e..07190fcb0 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -304,6 +304,10 @@ int TCPNameserver::doAXFR(const string &target, DNSPacket *q, int outsock) // find domain_id via SOA and list complete domain. No SOA, no AXFR DLOG(L<<"Looking for SOA"<getBackend()->getSOA(target,sd)) { L<