From: Aurelien DARRAGON Date: Wed, 21 Feb 2024 14:09:08 +0000 (+0100) Subject: CLEANUP: proxy/log: remove unused proxy flag X-Git-Tag: v3.0-dev4~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=891bac673b97172acf59e5188bc681986fafaa90;p=thirdparty%2Fhaproxy.git CLEANUP: proxy/log: remove unused proxy flag Since 3d6350e10 ("MINOR: log: Remove log-error-via-logformat option"), PR_O_ERR_LOGFMT flag is not used anymore, but it was left in the proxy-t.h header file. Simply removing it and adding a comment to indicate that the corresponding bit is now unused. --- diff --git a/include/haproxy/proxy-t.h b/include/haproxy/proxy-t.h index 67a45bf941..d76eed0835 100644 --- a/include/haproxy/proxy-t.h +++ b/include/haproxy/proxy-t.h @@ -96,7 +96,7 @@ enum PR_SRV_STATE_FILE { /* unused: 0x00002000 */ #define PR_O_PERSIST 0x00004000 /* server persistence stays effective even when server is down */ #define PR_O_LOGASAP 0x00008000 /* log as soon as possible, without waiting for the stream to complete */ -#define PR_O_ERR_LOGFMT 0x00010000 /* use log-format for connection error message */ +/* unused: 0x00010000 */ #define PR_O_CHK_CACHE 0x00020000 /* require examination of cacheability of the 'set-cookie' field */ #define PR_O_TCP_CLI_KA 0x00040000 /* enable TCP keep-alive on client-side streams */ #define PR_O_TCP_SRV_KA 0x00080000 /* enable TCP keep-alive on server-side streams */