Comment #2 on issue 102 by dsallings: PIping null to the server will crash it
http://code.google.com/p/memcached/issues/detail?id=102

This doesn't seem right. Doesn't that make multiget not work, or am I not understanding?

I think the first, say, 16 bytes needs to look like a valid command at the very least. Your code makes sense for anything except get, so perhaps it'd be OK and get
can be special cased?

It'd also be good to do away with the "allow any arbitrary whitespace before
commands" stuff in the protocol. That'd simplify it down to just checking the first
byte for most things.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to