Changeset 1381
- Timestamp:
- 07/30/09 22:00:16 (8 months ago)
- Location:
- tags/pdns-3.1.7.1/pdns
- Files:
-
- 20 modified
-
dnsdemog.cc (modified) (2 diffs)
-
dnsgram.cc (modified) (2 diffs)
-
dnspacket.cc (modified) (2 diffs)
-
dnspbench.cc (modified) (1 diff)
-
dnsproxy.cc (modified) (1 diff)
-
dnsreplay.cc (modified) (2 diffs)
-
dnsscan.cc (modified) (1 diff)
-
dnsscope.cc (modified) (2 diffs)
-
dnswasher.cc (modified) (1 diff)
-
dynlistener.cc (modified) (1 diff)
-
lwres.cc (modified) (1 diff)
-
notify.cc (modified) (1 diff)
-
nproxy.cc (modified) (3 diffs)
-
packethandler.cc (modified) (1 diff)
-
pdns_recursor.cc (modified) (10 diffs)
-
rcpgenerator.cc (modified) (1 diff)
-
receiver.cc (modified) (1 diff)
-
tcpreceiver.cc (modified) (1 diff)
-
webserver.cc (modified) (2 diffs)
-
win32_pdns_recursor.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/pdns-3.1.7.1/pdns/dnsdemog.cc
r960 r1381 72 72 continue; 73 73 } 74 catch( exception& e) {74 catch(std::exception& e) { 75 75 cerr << e.what() << endl; 76 76 continue; … … 88 88 89 89 } 90 catch( exception& e)90 catch(std::exception& e) 91 91 { 92 92 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dnsgram.cc
r1125 r1381 155 155 continue; 156 156 } 157 catch( exception& e) {157 catch(std::exception& e) { 158 158 cerr << e.what() << endl; 159 159 continue; … … 188 188 } 189 189 } 190 catch( exception& e)190 catch(std::exception& e) 191 191 { 192 192 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dnspacket.cc
r1138 r1381 323 323 pw.commit(); 324 324 } 325 catch( exception& e) {325 catch(std::exception& e) { 326 326 L<<Logger::Error<<"Exception: "<<e.what()<<endl; 327 327 throw; … … 434 434 return 0; 435 435 } 436 catch( exception& e) {436 catch(std::exception& e) { 437 437 return -1; 438 438 } -
tags/pdns-3.1.7.1/pdns/dnspbench.cc
r832 r1381 90 90 #endif 91 91 } 92 catch( exception& e)92 catch(std::exception& e) 93 93 { 94 94 cerr<<"Fatal: "<<e.what()<<"\n"; -
tags/pdns-3.1.7.1/pdns/dnsproxy.cc
r1215 r1381 204 204 L<<Logger::Error<<"Fatal error in DNS proxy: "<<ae.reason<<endl; 205 205 } 206 catch( exception &e) {206 catch(std::exception &e) { 207 207 L<<Logger::Error<<"Communicator thread died because of STL error: "<<e.what()<<endl; 208 208 } -
tags/pdns-3.1.7.1/pdns/dnsreplay.cc
r1175 r1381 381 381 382 382 } 383 catch( exception& e)383 catch(std::exception& e) 384 384 { 385 385 cerr<<"Receiver thread died: "<<e.what()<<endl; … … 655 655 out:; 656 656 } 657 catch( exception& e)657 catch(std::exception& e) 658 658 { 659 659 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dnsscan.cc
r857 r1381 79 79 80 80 } 81 catch( exception& e)81 catch(std::exception& e) 82 82 { 83 83 cout<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dnsscope.cc
r1102 r1381 115 115 continue; 116 116 } 117 catch( exception& e) {117 catch(std::exception& e) { 118 118 if(pw) 119 119 pw->write(); … … 212 212 cerr<<"Average response time: "<<tottime/totpackets<<" usec"<<endl; 213 213 } 214 catch( exception& e)214 catch(std::exception& e) 215 215 { 216 216 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dnswasher.cc
r1037 r1381 75 75 pr.d_nonetheripudp<<" unknown encaps"<<endl; 76 76 } 77 catch( exception& e)77 catch(std::exception& e) 78 78 { 79 79 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/dynlistener.cc
r910 r1381 236 236 L<<Logger::Error<<"Fatal error 2 in control listener: "<<E<<endl; 237 237 } 238 catch( exception& e)238 catch(std::exception& e) 239 239 { 240 240 L<<Logger::Error<<"Fatal STL error: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/lwres.cc
r1190 r1381 182 182 return 1; 183 183 } 184 catch( exception &mde) {184 catch(std::exception &mde) { 185 185 if(::arg().mustDo("log-common-errors")) 186 186 L<<Logger::Notice<<"Unable to parse packet from remote server "<<ip.toString()<<": "<<mde.what()<<endl; -
tags/pdns-3.1.7.1/pdns/notify.cc
r1087 r1381 53 53 cerr<<"For: '"<<mdp.d_qname<<"'"<<endl; 54 54 } 55 catch( exception& e)55 catch(std::exception& e) 56 56 { 57 57 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/nproxy.cc
r1112 r1381 111 111 112 112 } 113 catch( exception &e)113 catch(std::exception &e) 114 114 { 115 115 syslogFmt(boost::format("Error parsing packet from external nameserver: %s") % e.what()); … … 160 160 161 161 } 162 catch( exception &e)162 catch(std::exception &e) 163 163 { 164 164 syslogFmt(boost::format("Error parsing packet from internal nameserver: %s") % e.what()); … … 294 294 syslogFmt(boost::format("Error parsing command line options: %s") % e.what()); 295 295 } 296 catch( exception& e)296 catch(std::exception& e) 297 297 { 298 298 syslogFmt(boost::format("Fatal: %s") % e.what()); -
tags/pdns-3.1.7.1/pdns/packethandler.cc
r1216 r1381 934 934 S.ringAccount("servfail-queries",p->qdomain); 935 935 } 936 catch( exception &e) {936 catch(std::exception &e) { 937 937 L<<Logger::Error<<"Exception building answer packet ("<<e.what()<<") sending out servfail"<<endl; 938 938 delete r; -
tags/pdns-3.1.7.1/pdns/pdns_recursor.cc
r1200 r1381 569 569 if(ret.size()) { 570 570 shuffle(ret); 571 571 572 572 for(vector<DNSResourceRecord>::const_iterator i=ret.begin(); i!=ret.end(); ++i) { 573 573 pw.startRecord(i->qname, i->qtype.getCode(), i->ttl, i->qclass, (DNSPacketWriter::Place)i->d_place); … … 667 667 L<<Logger::Error<<"DNS parser error: "<<dc->d_mdp.d_qname<<", "<<e.what()<<endl; 668 668 } 669 catch( exception& e) {669 catch(std::exception& e) { 670 670 L<<Logger::Error<<"STL error: "<<e.what()<<endl; 671 671 } … … 881 881 questionExpand(data, len, qname, sizeof(qname), type); 882 882 } 883 catch( exception &e)883 catch(std::exception &e) 884 884 { 885 885 throw MOADNSException(e.what()); … … 1184 1184 command(); 1185 1185 } 1186 catch( exception& e) {1186 catch(std::exception& e) { 1187 1187 L<<Logger::Error<<"Error dealing with control socket request: "<<e.what()<<endl; 1188 1188 } … … 1487 1487 return "ok\n"; 1488 1488 } 1489 catch( exception& e) {1489 catch(std::exception& e) { 1490 1490 L<<Logger::Error<<"Had error reloading zones, keeping original data: "<<e.what()<<endl; 1491 1491 } … … 1526 1526 rr=String2DNSRR(rr.qname, rr.qtype, tmp, rr.ttl); 1527 1527 } 1528 catch( exception &e) {1528 catch(std::exception &e) { 1529 1529 throw AhuException("Error parsing record '"+rr.qname+"' of type "+rr.qtype.getName()+" in zone '"+headers.first+"' from file '"+headers.second+"': "+e.what()); 1530 1530 } … … 1648 1648 } 1649 1649 } 1650 catch( exception& e) {1650 catch(std::exception& e) { 1651 1651 L<<Logger::Error<<"Retaining current script, error from '"<<fname<<"': "<< e.what() <<endl; 1652 1652 return string("Retaining current script, error from '"+fname+"': "+string(e.what())+"\n"); … … 1772 1772 1773 1773 } 1774 catch( exception &e) {1774 catch(std::exception &e) { 1775 1775 L<<Logger::Error<<"Failed to load 'lua' script from '"<<::arg()["lua-dns-script"]<<"': "<<e.what()<<endl; 1776 1776 exit(99); … … 1987 1987 #endif 1988 1988 ::arg().set("config-dir","Location of configuration directory (recursor.conf)")=SYSCONFDIR; 1989 #ifndef WIN32 1990 ::arg().set("socket-owner","Owner of socket")=""; 1991 ::arg().set("socket-group","Group of socket")=""; 1992 ::arg().set("socket-mode", "Permissions for socket")=""; 1993 #endif 1994 1989 1995 ::arg().set("socket-dir","Where the controlsocket will live")=LOCALSTATEDIR; 1990 1996 ::arg().set("delegation-only","Which domains we only accept delegations from")=""; … … 2061 2067 ret=EXIT_FAILURE; 2062 2068 } 2063 catch( exception &e) {2069 catch(std::exception &e) { 2064 2070 L<<Logger::Error<<"STL Exception: "<<e.what()<<endl; 2065 2071 ret=EXIT_FAILURE; -
tags/pdns-3.1.7.1/pdns/rcpgenerator.cc
r1167 r1381 461 461 462 462 } 463 catch( exception& e)463 catch(std::exception& e) 464 464 { 465 465 cerr<<"Fatal: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/receiver.cc
r1216 r1381 568 568 L<<Logger::Error<<"Exiting because: "<<AE.reason<<endl; 569 569 } 570 catch( exception &e) {570 catch(std::exception &e) { 571 571 if(!::arg().mustDo("daemon")) 572 572 cerr<<"Exiting because of STL error: "<<e.what()<<endl; -
tags/pdns-3.1.7.1/pdns/tcpreceiver.cc
r1215 r1381 324 324 L<<Logger::Error<<"TCP nameserver had error, cycling backend: "<<ae.reason<<endl; 325 325 } 326 catch( exception &e) {326 catch(std::exception &e) { 327 327 L<<Logger::Error<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl; 328 328 } -
tags/pdns-3.1.7.1/pdns/webserver.cc
r1092 r1381 172 172 L<<Logger::Error<<"Exception in webserver: "<<e.reason<<endl; 173 173 } 174 catch( exception &e) {174 catch(std::exception &e) { 175 175 L<<Logger::Error<<"STL Exception in webserver: "<<e.what()<<endl; 176 176 } … … 216 216 L<<Logger::Error<<"Fatal error in main webserver thread: "<<e.reason<<endl; 217 217 } 218 catch( exception &e) {218 catch(std::exception &e) { 219 219 L<<Logger::Error<<"STL Exception in main webserver thread: "<<e.what()<<endl; 220 220 } -
tags/pdns-3.1.7.1/pdns/win32_pdns_recursor.cc
r681 r1381 597 597 L<<Logger::Error<<"Exception: "<<ae.reason<<endl; 598 598 } 599 catch( exception &e) {599 catch(std::exception &e) { 600 600 L<<Logger::Error<<"STL Exception: "<<e.what()<<endl; 601 601 } … … 718 718 L<<Logger::Error<<"Exception: "<<ae.reason<<endl; 719 719 } 720 catch( exception &e) {720 catch(std::exception &e) { 721 721 L<<Logger::Error<<"STL Exception: "<<e.what()<<endl; 722 722 }