]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: proxy/log: remove unused proxy flag
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 21 Feb 2024 14:09:08 +0000 (15:09 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 22 Feb 2024 14:32:42 +0000 (15:32 +0100)
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.

include/haproxy/proxy-t.h

index 67a45bf94142d06e763fc8e8ccb0a6ce444cb194..d76eed083566ee80a3e029c7d5e506fa94570730 100644 (file)
@@ -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 */