]> 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>
Mon, 28 Nov 2022 15:25:04 +0000 (10:25 -0500)
commitbe7afe658e5fc6745a369d6fb3fbc4bb6037da18
tree06d023f94d4686d27a91b04f28ccbeb9061f761c
parentee38514cc4372bfb7d01ee96a1110d600a30e061
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