I have been doing some work on memcache and while debugging I came across this strange issue. If someone could verify with me, I would be grateful. In the function:

static void complete_nread()

Add this code right above the store_item(it, comm).

printf("value: %s\n",ITEM_data(it));

Now write a simple client in any language, and run 2 set commands, Run the script few times and look at the output in memcache verbose output, shouldn't the output be consistent every time? It's not. I am noticing its appending the last 2 bytes from the previous command. Buffer not being cleared?

I used multiple clients to test this out, and noticed this issue isn't present in 1.1.13.

Linux, libevent 1.3b. 32bit.



Chris Goffinet
[EMAIL PROTECTED]



Reply via email to