From 2501da895d27e574d072a4bc322594d0aefb6aec Mon Sep 17 00:00:00 2001 From: Lenar Fatikhov Date: Mon, 26 Aug 2024 14:18:32 -0700 Subject: [PATCH] add key client binding flag to request Summary: We pass the flag to enable key-client binding to the server via the request flags. Reviewed By: disylh Differential Revision: D61807959 fbshipit-source-id: 0ad9ce0ff18ae3fdf50ce9b26b258323c97cd5ae --- mcrouter/lib/mc/msg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mcrouter/lib/mc/msg.h b/mcrouter/lib/mc/msg.h index a717d4243..fdc11232c 100644 --- a/mcrouter/lib/mc/msg.h +++ b/mcrouter/lib/mc/msg.h @@ -264,6 +264,7 @@ enum mc_msg_flags_t { MC_MSG_FLAG_FB_COMPACT_SERIALIZED = 0x8, MC_MSG_FLAG_ASCII_INT_SERIALIZED = 0x10, MC_MSG_FLAG_SIZE_SPLIT = 0x20, + MC_MSG_FLAG_KEY_CLIENT_BINDING_ENABLED = 0x40, MC_MSG_FLAG_NZLIB_COMPRESSED = 0x800, MC_MSG_FLAG_QUICKLZ_COMPRESSED = 0x2000, MC_MSG_FLAG_SNAPPY_COMPRESSED = 0x4000, @@ -305,6 +306,8 @@ static inline const char* mc_flag_to_string(const enum mc_msg_flags_t flag) { return "ASCII_INT_SERIALIZED"; case MC_MSG_FLAG_SIZE_SPLIT: return "SIZE_SPLIT"; + case MC_MSG_FLAG_KEY_CLIENT_BINDING_ENABLED: + return "MC_MSG_FLAG_KEY_CLIENT_BINDING_ENABLED"; case MC_MSG_FLAG_NZLIB_COMPRESSED: return "NZLIB_COMPRESSED"; case MC_MSG_FLAG_QUICKLZ_COMPRESSED: