Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

cas parsing anomaly #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
echo -e "cas bad 0 0 0 0 blah blah blah 0 0 0 0 0 0 0 noreply\r\n\r" | nc 
localhost 11211

noreply gets ignored when cas command looks like this and
arbitrary arguments can follow after fourth 0

Original issue reported on code.google.com by michal.l...@gmail.com on 19 Nov 2010 at 4:00

GoogleCodeExporter commented 9 years ago
memcached version 1.4.5

Original comment by michal.l...@gmail.com on 22 Nov 2010 at 11:37

GoogleCodeExporter commented 9 years ago
that's correct so far as I can tell. CAS isn't something you can use noreply on 
since otherwise you can't know if it worked or not... noreply doesn't hide 
errors, it hides successes, which is why I hate it and it's broken and I hate 
it.

Original comment by dorma...@rydia.net on 15 Apr 2011 at 6:46