Skip to content
Permalink
Browse files

add binary protocol option in MemcachedEngine

  • Loading branch information...
shin1x1 committed Dec 2, 2014
1 parent bbfe317 commit a5843dbe875a5b5b6b63a6e569a274327566d3ee
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Cache/Engine/MemcachedEngine.php
@@ -130,6 +130,7 @@ public function init($settings = array()) {
__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']);
}

0 comments on commit a5843db

Please sign in to comment.
You can’t perform that action at this time.