relay: Lower DNS Exit-side timeout
commit347eaa32bfbcdfb13c9e34397d8b068ed6f6ba17
authorDavid Goulet <dgoulet@torproject.org>
Mon, 13 Dec 2021 15:56:43 +0000 (13 10:56 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 15 Mar 2022 19:26:19 +0000 (15 15:26 -0400)
treeb50f1e8c5789134dcfdeecd01a96ca7056fb8499
parent17a8b3c735f2d1a685c322d9f127350aa5f74667
relay: Lower DNS Exit-side timeout

Introduces two new consensus parameter:

  exit_dns_timeout: Number of seconds before libevent should consider
  the DNS request a timeout.

  exit_dns_num_attempts: Number of attempts that libeven should retry a
  previously failing query before calling it a timeout.

Closes #40312

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket40312 [new file with mode: 0644]
src/feature/relay/dns.c