]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
cookies: disable for now
authorGrigorii Demidov <grigorii.demidov@nic.cz>
Fri, 1 Jun 2018 11:00:11 +0000 (13:00 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 14 Aug 2018 08:36:13 +0000 (10:36 +0200)
Makefile
NEWS

index 3948e8346db299b9456d174333d485043bfe11a4..de7ff56aca35ea0e502982f925c7c616bc9f11cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ info:
 #      $(info [$(HAS_hiredis)] hiredis (modules/redis))
        $(info [$(HAS_cmocka)] cmocka (tests/unit))
        $(info [$(HAS_libsystemd)] systemd (daemon))
-       $(info [$(HAS_nettle)] nettle (modules/cookies))
+#      $(info [$(HAS_nettle)] nettle (modules/cookies))
        $(info [$(HAS_ltn12)] Lua socket ltn12 (trust anchor bootstrapping))
        $(info [$(HAS_ssl.https)] Lua ssl.https (trust anchor bootstrapping))
        $(info [$(HAS_libedit)] libedit (client))
@@ -165,10 +165,13 @@ endif
 endif
 
 # Check if it has nettle to support DNS cookies
-ifeq ($(HAS_nettle), yes)
-BUILD_CFLAGS += -DENABLE_COOKIES
-ENABLE_COOKIES := yes
-endif
+
+# temporarily turn off cookies
+#ifeq ($(HAS_nettle), yes)
+#BUILD_CFLAGS += -DENABLE_COOKIES
+#ENABLE_COOKIES := yes
+#endif
+ENABLE_COOKIES := no
 
 # Installation directories
 $(DESTDIR)$(MODULEDIR):
diff --git a/NEWS b/NEWS
index 142501c7cb7b7d67462b162f542025c906156a52..6184ab3e5bee387b0c56daa8956f525f29eff06c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Incompatible changes
 - only knot >= 2.7.1 is supported, which brings also larger API changes;
   in case you wrote custom modules, please consult:
   https://knot-resolver.readthedocs.io/en/latest/lib.html#incompatible-changes-since-3-0-0
+- cookies are disabled for now (RFC 7873), they need more work
 
 Improvements
 ------------