Updates:
Status: Started
Owner: trond.norbye
Comment #1 on issue 152 by trond.norbye: CLIENT_ERROR not sent when
fetching valid key with data + invalid key
http://code.google.com/p/memcached/issues/detail?id=152
I pushed a patch for this to
http://github.com/trondn/memcached/commit/31c7156735c15ffa1c47268fb2513b4ee6240f01
The problem is that we're trying to add a text part to the output with
out_string, but this doesn't work due to the logic in conn_write. The
easiest fix for this bug is to nuke all of the output we generated and send
the error message instead. Trying to "append" the error message could make
the resulting text unparsable for the client if we had a partial message
built up..