[PATCH 1/3] Warn about "noreply" and malformed requests.
Tomash Brechko
tomash.brechko at gmail.com
Fri Nov 9 12:31:38 UTC 2007
---
trunk/server/doc/protocol.txt | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/trunk/server/doc/protocol.txt b/trunk/server/doc/protocol.txt
index 6defa9f..4c93517 100644
--- a/trunk/server/doc/protocol.txt
+++ b/trunk/server/doc/protocol.txt
@@ -172,7 +172,10 @@ cas <key> <flags> <exptime> <bytes> <cas unqiue> [noreply]\r\n
when issuing "cas" updates.
- "noreply" optional parameter instructs the server to not send the
- reply.
+ reply. NOTE: if the request line is malformed, the server can't
+ parse "noreply" option reliably. In this case it may send the error
+ to the client, and not reading it on the client side will break
+ things. Client should construct only valid requests.
After this line, the client sends the data block:
--
1.5.3.5.529.ge3d6d
More information about the memcached
mailing list