From: Vlad S. <vl...@cr...> - 2008-05-27 17:33:25
|
Just tested it, works fine regardless is it first time or not I am using latest version from CVS of server and the module on Archlinux 2.6.24-ARCH Daniel Stasinski wrote: > 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 > |