projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
acd51e4
)
Implement flag retrieval for new keepalive flag.
author
Andre Cruz
<andre@cabine.org>
Mon, 8 Mar 2010 14:37:03 +0000
(14:37 +0000)
committer
Andre Cruz
<andre@cabine.org>
Mon, 8 Mar 2010 14:37:03 +0000
(14:37 +0000)
libmemcached/behavior.c
patch
|
blob
|
history
diff --git
a/libmemcached/behavior.c
b/libmemcached/behavior.c
index aa697cfe8c37004e9b607e3d3120dee1d54562a0..e250241b3307e6a29c7bd82172e45979d3860b4f 100644
(file)
--- a/
libmemcached/behavior.c
+++ b/
libmemcached/behavior.c
@@
-357,6
+357,8
@@
uint64_t memcached_behavior_get(memcached_st *ptr,
return ptr->flags.randomize_replica_read;
case MEMCACHED_BEHAVIOR_CORK:
return ptr->flags.cork;
+ case MEMCACHED_BEHAVIOR_TCP_KEEPALIVE:
+ return ptr->flags.tcp_keepalive;
case MEMCACHED_BEHAVIOR_MAX:
default:
WATCHPOINT_ASSERT(0); /* Programming mistake if it gets this far */