From: Florin Coras Date: Wed, 29 Jan 2025 07:31:23 +0000 (-0800) Subject: http: conn state consistency with other transports X-Git-Tag: v25.10-rc0~242 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F42265%2F2;p=vpp.git http: conn state consistency with other transports Maintain transport state formatting consistency, i.e., upper case states. If we revisit, we should revisit all transports. Type: refactor Signed-off-by: Florin Coras Change-Id: I143e13aa5e8525bb276db9b4ec0e0baa153d1b44 --- diff --git a/src/plugins/http/http.h b/src/plugins/http/http.h index d61ac0b08c7..d1e81ab0617 100644 --- a/src/plugins/http/http.h +++ b/src/plugins/http/http.h @@ -72,12 +72,12 @@ typedef struct #define http_token_lit(s) (s), sizeof (s) - 1 #define foreach_http_conn_state \ - _ (LISTEN, "listen") \ - _ (CONNECTING, "connecting") \ - _ (ESTABLISHED, "established") \ - _ (TRANSPORT_CLOSED, "transport-closed") \ - _ (APP_CLOSED, "app-closed") \ - _ (CLOSED, "closed") + _ (LISTEN, "LISTEN") \ + _ (CONNECTING, "CONNECTING") \ + _ (ESTABLISHED, "ESTABLISHED") \ + _ (TRANSPORT_CLOSED, "TRANSPORT-CLOSED") \ + _ (APP_CLOSED, "APP-CLOSED") \ + _ (CLOSED, "CLOSED") typedef enum http_conn_state_ {