]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: http-ana: Fix TX_L7_RETRY and TX_D_L7_RETRY values
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Apr 2024 17:14:46 +0000 (19:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Apr 2024 13:50:00 +0000 (15:50 +0200)
These values are obviously wrong. There is an extra zero at the end for both
defines. By chance, it is harmless. But it is better to fix it.

This patch should be backported as far as 2.6.

include/haproxy/http_ana-t.h

index 5b7342f4d5f52cf161501e3e7612f5f3b48eb807..f43aa3258941ec63378788eb26c63ece31abc9fc 100644 (file)
@@ -73,8 +73,8 @@
 /* used only for keep-alive purposes, to indicate we're on a second transaction */
 #define TX_NOT_FIRST   0x00040000      /* the transaction is not the first one */
 
-#define TX_L7_RETRY     0x000800000     /* The transaction may attempt L7 retries */
-#define TX_D_L7_RETRY   0x001000000     /* Disable L7 retries on this transaction, even if configured to do it */
+#define TX_L7_RETRY     0x00080000      /* The transaction may attempt L7 retries */
+#define TX_D_L7_RETRY   0x00100000      /* Disable L7 retries on this transaction, even if configured to do it */
 
 /* This function is used to report flags in debugging tools. Please reflect
  * below any single-bit flag addition above in the same order via the