From 2a903f04d1b395cd60c1b7357a9b733e19eb7973 Mon Sep 17 00:00:00 2001 From: dormando Date: Thu, 24 Feb 2022 19:22:52 -0800 Subject: proxy: add ring_hash builtin this is ketama-based, with options for minor compat changes with major libraries. does _not_ support weights. The weights bits in the original ketama broke the algorithm, as changing the number of points would shift unrelated servers when the list changes. this also changes backends to take a "name" specifically, instead of an "ip address". Though note if supplying a hostname instead of an IP there might be inline DNS lookups on reconnects. --- devtools/clean-whitespace.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index faf8978..154ce37 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -3,7 +3,7 @@ use strict; use FindBin qw($Bin); chdir "$Bin/.." or die; -my @exempted = qw(Makefile.am ChangeLog doc/Makefile.am README README.md); +my @exempted = qw(Makefile.am ChangeLog doc/Makefile.am README README.md md5.c md5.h); push(@exempted, glob("doc/*.xml")); push(@exempted, glob("doc/*.full")); push(@exempted, glob("doc/xml2rfc/*.xsl")); -- cgit v1.2.1