Nonexistent memcached command should result in ERROR response, not SERVER_ERROR
-------------------------------------------------------------------------------
Key: ISPN-774
URL:
https://jira.jboss.org/browse/ISPN-774
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
Fix For: 4.2.0.CR1, 4.2.0.Final
From Michal:
"according to the memcached text protocol:
https://github.com/memcached/memcached/blob/master/doc/protocol.txt
sending of an unknown command should result in response "ERROR\r\n"
instead we are sending SERVER_ERROR.
echo -e "blah\r" | nc localhost 11211
SERVER_ERROR org.infinispan.server.core.UnknownOperationException: Unknown operation:
blah"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira