From: Daniel S. <moo...@av...> - 2008-05-27 14:26:41
|
I have noticed a quirk in the nsmemcache module. On the very first "get" command from a fresh restart of nsd, it will not read past about 1379 bytes and returns a partial chunk of data. The length is correct, but the data past 1379 is corrupt. To set, I performed: ns_memcache set bigdata [string repeat "X" 2048] Next, I killed and restarted nsd and performed: ns_puts [ns_memcache get bigdata text]<br> ' returns 1 ns_puts [string length $text]<br/> ' returns 2048 ns_puts $text All subsequent reads are correct. Only the very first read is affected. Daniel -- | --------------------------------------------------------------- | Daniel P. Stasinski | http://www.saidsimple.com | moo...@av... | http://www.disabilities-r-us.com | XMMP: moo...@av... | http://www.avenues.org | Google Talk: mooooooo | http://www.scriptkitties.com |