From 601ff61182b4f62fa8822c98dba36fd3985a6b0d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 25 Apr 2025 14:48:21 -0400 Subject: fix(lib): make Anubis less paranoid Previously Anubis would aggressively make sure that the client cookie matched exactly what it should. This has turned out to be too paranoid in practice and has caused problems with Happy Eyeballs et. al. This is a potential fix to #303 and #289. --- lib/random.go | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 lib/random.go (limited to 'lib/random.go') diff --git a/lib/random.go b/lib/random.go deleted file mode 100644 index 79cded4..0000000 --- a/lib/random.go +++ /dev/null @@ -1,9 +0,0 @@ -package lib - -import ( - "math/rand" -) - -func randomJitter() bool { - return rand.Intn(100) > 10 -} -- cgit v1.2.3