From: Adam Dickmeiss Date: Tue, 4 Feb 2014 10:22:59 +0000 (+0100) Subject: Enable memcahced binary protocol X-Git-Tag: v5.0.13~22 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=9c0d61ec236fb24ac2c1f5641630488546438459;ds=sidebyside Enable memcahced binary protocol --- diff --git a/src/zoom-memcached.c b/src/zoom-memcached.c index f35e7e6..25c4ea3 100644 --- a/src/zoom-memcached.c +++ b/src/zoom-memcached.c @@ -55,6 +55,7 @@ int ZOOM_memcached_configure(ZOOM_connection c) ZOOM_set_error(c, ZOOM_ERROR_MEMCACHED, val); return -1; } + memcached_behavior_set(c->mc_st, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, 1); #else ZOOM_set_error(c, ZOOM_ERROR_MEMCACHED, "not enabled"); return -1;