I work of a older memcached release (1.2.2 without binary support). To support keylen > 256 I had to changed #def KEY_MAX_LENGTH, a parameter in function item_make_header from uint8_t to size_t and datatype of nkey in struct item.
-venkatesh On Dec 14, 2007 5:12 AM, Dustin Sallings <[EMAIL PROTECTED]> wrote: > > On Dec 13, 2007, at 15:35, Tim Bunce wrote: > > The image of the binary protocol[1] shows "keylen 3". Does than mean > three bytes will be used to store the keylen in the binary protocol? > > > No, I think that was an example. Each row in that diagram is 32-bits, so > that box is one byte. > > -- > Dustin Sallings > >
