Changeset 1118

Show
Ignore:
Timestamp:
12/29/07 15:41:29 (10 months ago)
Author:
ahu
Message:

l.root-servers.net has moved!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pdns/pdns/pdns_recursor.cc

    r1098 r1118  
    146146  pident.sock=sock; 
    147147  pident.outMSG=data; 
    148  
     148   
    149149  g_fdm->addWriteFD(sock->getHandle(), handleTCPClientWritable, pident); 
    150150  string packet; 
    151151 
    152   int ret=MT->waitEvent(pident,&packet,1); 
     152  int ret=MT->waitEvent(pident, &packet, 1); 
     153 
    153154  if(!ret || ret==-1) { // timeout 
    154155    g_fdm->removeWriteFD(sock->getHandle()); 
     
    417418 
    418419  if(::arg()["hint-file"].empty()) { 
    419     static const char*ips[]={"198.41.0.4", "192.228.79.201", "192.33.4.12", "128.8.10.90", "192.203.230.10", "192.5.5.241", "192.112.36.4", "128.63.2.53", 
    420                        "192.36.148.17","192.58.128.30", "193.0.14.129", "198.32.64.12", "202.12.27.33"}; 
     420    static const char*ips[]={"198.41.0.4", "192.228.79.201", "192.33.4.12", "128.8.10.90", "192.203.230.10", "192.5.5.241",  
     421                             "192.112.36.4", "128.63.2.53", 
     422                             "192.36.148.17","192.58.128.30", "193.0.14.129", "199.7.83.42", "202.12.27.33"}; 
    421423    DNSResourceRecord arr, nsrr; 
    422424    arr.qtype=QType::A; 
     
    11991201{ 
    12001202  PacketID* pid=any_cast<PacketID>(&var); 
    1201    
    12021203  int ret=send(fd, pid->outMSG.c_str() + pid->outPos, pid->outMSG.size() - pid->outPos,0); 
    12031204  if(ret > 0) {