Permalink
Browse files

Add support for the "gets" memcached command

Add support for the "gets" memcached command
https://github.com/memcached/memcached/blob/master/doc/protocol.txt
allows kestrel to work with enyim memcached client and others
  • Loading branch information...
1 parent c66bbb3 commit b6330a3893f73487448c4acb6006410191a0c319 @halfnelson committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/net/lag/kestrel/MemcacheHandler.scala
@@ -58,7 +58,7 @@ class MemcacheHandler(
final def apply(request: MemcacheRequest): Future[MemcacheResponse] = {
request.line(0) match {
- case "get" =>
+ case "get" | "gets" =>
get(request.line(1))
case "monitor" =>
val maxItems = if (request.line.size > 3) request.line(3).toInt else maxOpenReads

0 comments on commit b6330a3

Please sign in to comment.