Thank you.  I have applied the patch to trunk.

Niels.

On 12/11/06, Nick Mathewson <[EMAIL PROTECTED]> wrote:
Hi, all!  This patch fixes a bug in nameserver timeouts in evdns.c.
Previously, we would count the number of successive requests that had
timed out in a row for each nameserver, but we would never actually
reset the timeout count to zero.  This, obviously, would create
problems: see the Tor bugtracker entry at
   http://bugs.noreply.org/flyspray/index.php?id=326&do=details

This patch resets the successive timeout count to zero when:
   - A nameserver comes up
   - We receive a reply from a nameserver
   - We decide to not use the nameserver for a while because of its
     timeout count.

This patch also changes the timeout threshold from 3 to 5 seconds.
Probably, it should be easier to adjust.  There may also be other
issues that cause spurious nameserver timeouts: see the final comment
in the bugtracker link above.

yrs,
--
Nick Mathewson


_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users




_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to