diff options
author | dormando <dormando@rydia.net> | 2022-02-04 12:15:02 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-02-04 12:15:02 -0800 |
commit | 6d36807a101f8deb9af40c1ec05d33ab08c5d475 (patch) | |
tree | f5b2a577fb28305fc975d668f4a2f6be419b692f /doc | |
parent | d3d1ecb4e2bf715f0db48b07cd224fc346d97996 (diff) | |
download | memcached-6d36807a101f8deb9af40c1ec05d33ab08c5d475.tar.gz |
meta: add "proxy tokens" P, L which are ignored
see doc/protocol.txt
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index 5fceccc..ac44b32 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -123,6 +123,13 @@ can return new data or reflect information, in the same order they were supplied in the request. Sending an 't' flag with a get for an item with 20 seconds of TTL remaining, would return 't20' in the response. +All commands accept a tokens 'P' and 'L' which are completely ignored. The +arguments to 'P' and 'L' can be used as hints or path specifications to a +proxy or router inbetween a client and a memcached daemon. For example, a +client may prepend a "path" in the key itself: "mg /path/foo v" or in a proxy +token: "mg foo Lpath/ v" - the proxy may then optionally remove or forward the +token to a memcached daemon, which will ignore them. + Syntax errors are handled the same as noted under 'Error strings' section below. |