projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac0975
)
Enable memcahced binary protocol
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 4 Feb 2014 10:22:59 +0000
(11:22 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 4 Feb 2014 10:22:59 +0000
(11:22 +0100)
src/zoom-memcached.c
patch
|
blob
|
history
diff --git
a/src/zoom-memcached.c
b/src/zoom-memcached.c
index
f35e7e6
..
25c4ea3
100644
(file)
--- 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;