<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,3 +4,4 @@ dist
 *.class
 bin
 .manager
+.DS_Store</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -130,6 +130,8 @@ class KestrelHandler(val session: IoSession, val config: Config) extends Actor {
         writeResponse(&quot;Flushed all queues.\r\n&quot;)
       case &quot;DUMP_CONFIG&quot; =&gt;
         dumpConfig()
+      case &quot;VERSION&quot; =&gt;
+        version()
     }
   }
 
@@ -309,6 +311,10 @@ class KestrelHandler(val session: IoSession, val config: Config) extends Actor {
     }
     writeResponse(dump.mkString(&quot;&quot;, &quot;\r\n&quot;, &quot;\r\nEND\r\n&quot;))
   }
+  
+  private def version() = {
+    writeResponse(&quot;VERSION Kestrel 1.1.2\r\n&quot;)
+  }
 
   private def shutdown() = {
     Kestrel.shutdown</diff>
      <filename>src/main/scala/net/lag/kestrel/KestrelHandler.scala</filename>
    </modified>
    <modified>
      <diff>@@ -39,7 +39,7 @@ case class Response(data: IoBuffer)
 
 
 object Codec {
-  private val KNOWN_COMMANDS = List(&quot;GET&quot;, &quot;SET&quot;, &quot;STATS&quot;, &quot;SHUTDOWN&quot;, &quot;RELOAD&quot;, &quot;FLUSH&quot;, &quot;FLUSH_ALL&quot;, &quot;DUMP_CONFIG&quot;)
+  private val KNOWN_COMMANDS = List(&quot;GET&quot;, &quot;SET&quot;, &quot;STATS&quot;, &quot;SHUTDOWN&quot;, &quot;RELOAD&quot;, &quot;FLUSH&quot;, &quot;FLUSH_ALL&quot;, &quot;DUMP_CONFIG&quot;, &quot;VERSION&quot;)
   private val DATA_COMMANDS = List(&quot;SET&quot;)
 
   val encoder = new ProtocolEncoder {</diff>
      <filename>src/main/scala/net/lag/kestrel/memcache/Codec.scala</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6d2831ef282806f2c68f9a0d73fb5880c1bd4f5</id>
    </parent>
  </parents>
  <author>
    <name>Frederic Jean</name>
    <email>frederic.jean@sun.com</email>
  </author>
  <url>http://github.com/robey/kestrel/commit/4c2417f81ec31ecba5081be22233132be7738c0f</url>
  <id>4c2417f81ec31ecba5081be22233132be7738c0f</id>
  <committed-date>2009-07-27T23:27:23-07:00</committed-date>
  <authored-date>2009-07-27T23:14:54-07:00</authored-date>
  <message>Adding support for the VERSION command. This will enable the use of the
Whalin Java MemCache client and the JRuby MemCache Client.</message>
  <tree>7c9b39c602d8a944122988fe6505bb14c38e56a5</tree>
  <committer>
    <name>Frederic Jean</name>
    <email>frederic.jean@sun.com</email>
  </committer>
</commit>
