Changeset 1079
- Timestamp:
- 08/02/07 23:29:10 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/packethandler.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/packethandler.cc
r1078 r1079 897 897 if(doAdditionalProcessingAndDropAA(p,r)<0) 898 898 return 0; 899 899 900 r->wrapup(); // needed for inserting in cache 900 901 if(!noCache) … … 907 908 S.ringAccount("servfail-queries",p->qdomain); 908 909 } 910 catch(exception &e) { 911 L<<Logger::Error<<"Exception building anser packet ("<<e.what()<<") sending out servfail"<<endl; 912 delete r; 913 r=p->replyPacket(); // generate an empty reply packet 914 r->setRcode(RCode::ServFail); 915 S.inc("servfail-packets"); 916 S.ringAccount("servfail-queries",p->qdomain); 917 } 909 918 return r; 910 919