From a5843dbe875a5b5b6b63a6e569a274327566d3ee Mon Sep 17 00:00:00 2001 From: shin1x1 Date: Tue, 2 Dec 2014 19:56:30 +0900 Subject: [PATCH] add binary protocol option in MemcachedEngine --- lib/Cake/Cache/Engine/MemcachedEngine.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Cache/Engine/MemcachedEngine.php b/lib/Cake/Cache/Engine/MemcachedEngine.php index f910ffbf4..710a4d385 100644 --- a/lib/Cake/Cache/Engine/MemcachedEngine.php +++ b/lib/Cake/Cache/Engine/MemcachedEngine.php @@ -130,6 +130,7 @@ class MemcachedEngine extends CacheEngine { __d('cake_dev', 'Memcached extension is not build with SASL support') ); } + $this->_Memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true); $this->_Memcached->setSaslAuthData($this->settings['login'], $this->settings['password']); }