Memcached server should throw error when stats comes with args
--------------------------------------------------------------
Key: ISPN-793
URL:
https://jira.jboss.org/browse/ISPN-793
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Affects Versions: 4.2.0.BETA1, 4.1.0.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Priority: Minor
Fix For: 4.2.0.CR2, 4.2.0.Final
Memcached protocol says
https://github.com/memcached/memcached/blob/master/doc/protocol.txt:
"stats <args>\r\n
Depending on <args>, various internal data is sent by the server. The
kinds of arguments and the data sent are not documented in this vesion
of the protocol, and are subject to change for the convenience of
memcache developers."
Hence, we don't support <args> passed to stats. So, on one side,
http://community.jboss.org/docs/DOC-14644
needs to be updated in order to indicate the fact that this is not supported.
And the other hand, if someone passes <args>, we should throw an server error (or
client error rather?)
indicating that <args> is not supported. For sure, the entire line needs to be
read.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira