summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2016-05-28 16:31:53 -0700
committerdormando <dormando@rydia.net>2016-05-28 16:31:53 -0700
commite7d4521cd8b27f7ebc6e4c1b9aee9eb3544f6af5 (patch)
tree8342b2aa518b760c6eafdec262af8217292227aa
parente688e97da0855f752f33b5371b108d856d33f583 (diff)
downloadmemcached-e7d4521cd8b27f7ebc6e4c1b9aee9eb3544f6af5.tar.gz
Document negative expiration values
re: GH#142.
-rw-r--r--doc/protocol.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 9d086c4..7e72508 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -165,7 +165,8 @@ cas <key> <flags> <exptime> <bytes> <cas unique> [noreply]\r\n
items). If it's non-zero (either Unix time or offset in seconds from
current time), it is guaranteed that clients will not be able to
retrieve this item after the expiration time arrives (measured by
- server time).
+ server time). If a negative value is given the item is immediately
+ expired.
- <bytes> is the number of bytes in the data block to follow, *not*
including the delimiting \r\n. <bytes> may be zero (in which case