Skip to content

Commit

Permalink
Merge pull request #129 from azat/disable-probing-with-disable-when-i…
Browse files Browse the repository at this point in the history
…nactive-v2

evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
  • Loading branch information
nmathewson committed Sep 18, 2014
2 parents 56ad623 + d83b337 commit a7d5dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ request_finished(struct request *const req, struct request **head, int free_hand
req->ns->requests_inflight == 0 &&
req->base->disable_when_inactive) {
event_del(&req->ns->event);
evtimer_del(&req->ns->timeout_event);
}

if (!req->request_appended) {
Expand Down

0 comments on commit a7d5dab

Please sign in to comment.