ndb/dns: dont override req->aborttime in udpquery()
overriding aborttime in udpquery() makes no sense. it causes recursive queries to extend the timeout infinitely. nobody but the issuer of the request should modify aborttime.
This commit is contained in:
parent
5796736b70
commit
2647aef175
1 changed files with 0 additions and 1 deletions
|
@ -1404,7 +1404,6 @@ udpquery(Query *qp, char *mntpt, int depth, int patient, int inns)
|
|||
pcntprob = likely[qp->type];
|
||||
reqtm = (patient? 2 * Maxreqtm: Maxreqtm);
|
||||
wait = weight(reqtm / 3, pcntprob); /* time for one udp query */
|
||||
qp->req->aborttime = timems() + 3*wait; /* for all udp queries */
|
||||
|
||||
qp->udpfd = fd;
|
||||
rv = queryns(qp, depth, ibuf, obuf, wait, inns);
|
||||
|
|
Loading…
Reference in a new issue