Changeset 1178

Show
Ignore:
Timestamp:
04/20/08 21:05:39 (6 months ago)
Author:
ahu
Message:

fix issue resolving popular domains where one of the nameservers is suffering from a timeout. Many thanks to Eric Veldhuyzen, Kees Monshouwer and Brad Dameron for their aid in debugging this issue.

Files:

Legend:

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

    r1160 r1178  
    137137  } 
    138138 
     139  lwr->d_usec=dt.udiff(); 
     140  *now=dt.getTimeval(); 
     141 
    139142  if(ret <= 0) // includes 'timeout' 
    140143    return ret; 
    141144 
    142   lwr->d_usec=dt.udiff(); 
    143   *now=dt.getTimeval(); 
    144145  lwr->d_result.clear(); 
    145146  try {