Loading changes/ticket40564 0 → 100644 +4 −0 Original line number Diff line number Diff line o Major bugfixes (relay, overload): - Do not trigger a general overload on DNS timeout. Even after fixing 40527, some code remained that triggered the overload. Fixes bug 40564; bugfix on 0.4.7.1-alpha. src/feature/relay/dns.c +0 −10 Original line number Diff line number Diff line Loading @@ -1539,16 +1539,6 @@ evdns_callback(int result, char type, int count, int ttl, void *addresses, tor_addr_make_unspec(&addr); /* Note down any DNS errors to the statistics module */ if (result == DNS_ERR_TIMEOUT) { /* libevent timed out while resolving a name. However, because libevent * handles retries and timeouts internally, this means that all attempts of * libevent timed out. If we wanted to get more granular information about * individual libevent attempts, we would have to implement our own DNS * timeout/retry logic */ rep_hist_note_overload(OVERLOAD_GENERAL); } /* Keep track of whether IPv6 is working */ if (type == DNS_IPv6_AAAA) { if (result == DNS_ERR_TIMEOUT) { Loading Loading
changes/ticket40564 0 → 100644 +4 −0 Original line number Diff line number Diff line o Major bugfixes (relay, overload): - Do not trigger a general overload on DNS timeout. Even after fixing 40527, some code remained that triggered the overload. Fixes bug 40564; bugfix on 0.4.7.1-alpha.
src/feature/relay/dns.c +0 −10 Original line number Diff line number Diff line Loading @@ -1539,16 +1539,6 @@ evdns_callback(int result, char type, int count, int ttl, void *addresses, tor_addr_make_unspec(&addr); /* Note down any DNS errors to the statistics module */ if (result == DNS_ERR_TIMEOUT) { /* libevent timed out while resolving a name. However, because libevent * handles retries and timeouts internally, this means that all attempts of * libevent timed out. If we wanted to get more granular information about * individual libevent attempts, we would have to implement our own DNS * timeout/retry logic */ rep_hist_note_overload(OVERLOAD_GENERAL); } /* Keep track of whether IPv6 is working */ if (type == DNS_IPv6_AAAA) { if (result == DNS_ERR_TIMEOUT) { Loading