some protocol weirdness

Antony Dovgal tony2001@phpclub.net
Thu, 8 Apr 2004 19:53:31 +0400


On Thu, 8 Apr 2004 17:37:43 +0400
Antony Dovgal <tony2001@phpclub.net> wrote:

> Hi all!
> 
> Can somebody explain me why memcached server's response is so weird in this particular case:
> flush_all // <-- flushing the cache
> OK	  // <-- server says 'OK'
> get obj_key // <-- I'm trying to get an item
> END         // <-- server says 'END'
> 
> I expected that this item already not exist, thus the server's response should be 'NOT_FOUND'.
> This is expected behaviour or some kind of bug ?

forget it, Brad has already pointed me to the right place of the protocol specification =)

---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com