bind9/lib
Ondřej Surý ddad205092
Don't compress in the rrset if compression was disabled
Currently, when rrset is being compressed, the optimization has been put
in place to reuse offset to the previous name in the same rrset.  This
skips the check for non-improving compression and thus compresses the
root zone making the wireformat worse by one byte.

Additionally, when the compression has been disabled for the name, it
would be repeatedly added to the compression table because we act as if
the name was not found and the dns_compress_add() doesn't check for the
existing entry.

Change the dns_name_towire2() to always lookup the name in the
compression table to prevent adding duplicates, but don't use it neither
in the wireformat nor in the rrset cache.
2022-07-11 12:26:15 +02:00
..
bind9 prevent a possible buffer overflow in configuration check 2022-05-13 19:59:58 -07:00
dns Don't compress in the rrset if compression was disabled 2022-07-11 12:26:15 +02:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc REQUIRE should not have side effects 2022-07-05 12:22:55 -07:00
isccc Update clang to version 14 2022-06-16 17:21:11 +02:00
isccfg Obsolete the "glue-cache" option 2022-06-30 15:24:08 +02:00
ns Check the synth-form-dnssec namespace when synthesising responses 2022-07-05 12:29:01 +10:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00