Skip to content

Commit

Permalink
add key client binding flag to request
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lenar Fatikhov authored and facebook-github-bot committed Aug 26, 2024
1 parent b4818bf commit 2501da8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mcrouter/lib/mc/msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2501da8

Please sign in to comment.