From: Christopher Faulet Date: Mon, 18 Nov 2024 21:12:28 +0000 (+0100) Subject: DEV: phash: Update 414 and 431 status codes to phash X-Git-Tag: v3.1-dev14~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41f28b3c53;p=thirdparty%2Fhaproxy.git DEV: phash: Update 414 and 431 status codes to phash The phash tool was updated to reflect the previous change. 414 and 431 are now part of the handled status codes. --- diff --git a/dev/phash/a.out b/dev/phash/a.out new file mode 100755 index 0000000000..3da1dd8385 Binary files /dev/null and b/dev/phash/a.out differ diff --git a/dev/phash/phash.c b/dev/phash/phash.c index 8a27405568..1d6765273a 100644 --- a/dev/phash/phash.c +++ b/dev/phash/phash.c @@ -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;