What is a valid key?

Dustin Sallings dustin at spy.net
Thu Dec 20 03:43:12 UTC 2007


On Dec 19, 2007, at 18:17, Brian Aker wrote:

> The code says " ", personally I call isgraph(). It would be nice to  
> see a standard definition.

	The spec says, ``the key must not include control characters or  
whitespace.''

	I think we should clarify it with Steve's suggestion.

> For the binary protocol I think none of this should matter at all. A  
> key has a key length, so the question of valid characters should not  
> be relevant.


	That's true, but it'd be really nice to not have different rules  
based on protocol.

-- 
Dustin Sallings





More information about the memcached mailing list