From 742dc01537c3796ccde3553d28864bcb22f5dec6 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 23 Apr 2025 16:30:50 +0200 Subject: [PATCH] CLEANUP: applet: Update st0/st1 comment in appctx structure Today, these states are used by almost all applets. So update the comments of these fields. --- include/haproxy/applet-t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/haproxy/applet-t.h b/include/haproxy/applet-t.h index cbd89c476..f28dee4ec 100644 --- a/include/haproxy/applet-t.h +++ b/include/haproxy/applet-t.h @@ -101,8 +101,8 @@ struct applet { struct appctx { enum obj_type obj_type; /* OBJ_TYPE_APPCTX */ /* 3 unused bytes here */ - unsigned int st0; /* CLI state for stats, session state for peers */ - unsigned int st1; /* prompt/payload (bitwise OR of APPCTX_CLI_ST1_*) for stats, session error for peers */ + unsigned int st0; /* Main applet state. May be used by any applet */ + unsigned int st1; /* Applet substate. Mau be used by any applet */ unsigned int flags; /* APPCTX_FL_* */ struct buffer inbuf;