]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DEV: phash: Update 414 and 431 status codes to phash
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 18 Nov 2024 21:12:28 +0000 (22:12 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Nov 2024 14:29:40 +0000 (15:29 +0100)
The phash tool was updated to reflect the previous change. 414 and 431 are
now part of the handled status codes.

dev/phash/a.out [new file with mode: 0755]
dev/phash/phash.c

diff --git a/dev/phash/a.out b/dev/phash/a.out
new file mode 100755 (executable)
index 0000000..3da1dd8
Binary files /dev/null and b/dev/phash/a.out differ
index 8a2740556807f0fdcc56f45f769998cfe1636aaa..1d6765273a4c9338609b61fd27fa655ec8b7c2c8 100644 (file)
@@ -17,9 +17,9 @@
 //const int codes[CODES] = { 200,400,401,403,404,405,407,408,410,413,421,422,425,429,500,501,502,503,504};
 
 #define CODES 32
-const int codes[CODES] = { 200,400,401,403,404,405,407,408,410,413,421,422,425,429,500,501,502,503,504,
+const int codes[CODES] = { 200,400,401,403,404,405,407,408,410,413,414,421,422,425,429,431,500,501,502,503,504,
        /* padding entries below, which will fall back to the default code */
-       -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
+       -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
 
 unsigned mul, xor;
 unsigned bmul = 0, bxor = 0;