]> git.ipfire.org Git - thirdparty/tor.git/commit
Clip DNS TTL values once in event callback
authorRasmus Dahlberg <rasmus@mullvad.net>
Wed, 12 Oct 2022 18:29:11 +0000 (20:29 +0200)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 1 Nov 2022 13:29:19 +0000 (09:29 -0400)
commit0fe2096144104e63d403896844af121c9622a7a8
treee7dfb5e73e9d877c855d3160947b6c03de849a64
parent619dd35321c13684d5496b660a3404d2d3fe2827
Clip DNS TTL values once in event callback

This change ensures that other parts of the code base always operate on
the same clipped TTL values, notably without being aware of clipping.
src/core/or/connection_edge.c
src/feature/relay/dns.c
src/test/test_cell_formats.c