]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Slightly reorder some proxy option flags to free slots
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 15 Apr 2025 06:40:49 +0000 (08:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Apr 2025 14:14:46 +0000 (16:14 +0200)
PR_O_TCPCHK_SSL and PR_O_CONTSTATS was shifted to free a slot. The idea is
to have 2 contiguous slots to be able to insert two new options.

include/haproxy/proxy-t.h

index 4f062a017c15b87c8f68baeea464dd787c66dc45..6e6b8fe62b555f4d5e7a943314df39f11c1b8175 100644 (file)
@@ -115,10 +115,10 @@ enum PR_SRV_STATE_FILE {
 #define PR_O_HTTP_SCL   0x02000000      /* HTTP server close mode (http-server-close) */
 #define PR_O_HTTP_MODE  0x03000000      /* MASK to retrieve the HTTP mode */
 /* unused: 0x04000000 */
+/* unused: 0x08000000 */
 
-#define PR_O_TCPCHK_SSL 0x08000000     /* at least one TCPCHECK connect rule requires SSL */
-#define PR_O_CONTSTATS 0x10000000      /* continuous counters */
-/* unused: 0x20000000 */
+#define PR_O_TCPCHK_SSL 0x10000000      /* at least one TCPCHECK connect rule requires SSL */
+#define PR_O_CONTSTATS  0x20000000      /* continuous counters */
 #define PR_O_DISABLE404 0x40000000      /* Disable a server on a 404 response to a health-check */
 /* unused: 0x80000000 */