Skip to content

Commit

Permalink
add binary protocol option in MemcachedEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
shin1x1 committed Dec 2, 2014
1 parent bbfe317 commit a5843db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Cache/Engine/MemcachedEngine.php
Expand Up @@ -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']);
}

Expand Down

0 comments on commit a5843db

Please sign in to comment.