Memcache leak?
Chris Goffinet
goffinet at yahoo-inc.com
Mon Sep 10 01:39:03 UTC 2007
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
goffinet at yahoo-inc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070909/25fb7c88/attachment.htm
More information about the memcached
mailing list