File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ class Memcached {
53
53
54
54
const OPT_RETRY_TIMEOUT ;
55
55
56
+ const OPT_DEAD_TIMEOUT ;
57
+
56
58
const OPT_SND_TIMEOUT ;
57
59
58
60
const OPT_RCV_TIMEOUT ;
Original file line number Diff line number Diff line change @@ -3805,6 +3805,9 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
3805
3805
REGISTER_MEMC_CLASS_CONST_LONG (OPT_SOCKET_RECV_SIZE , MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE );
3806
3806
REGISTER_MEMC_CLASS_CONST_LONG (OPT_CONNECT_TIMEOUT , MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT );
3807
3807
REGISTER_MEMC_CLASS_CONST_LONG (OPT_RETRY_TIMEOUT , MEMCACHED_BEHAVIOR_RETRY_TIMEOUT );
3808
+ #if defined(LIBMEMCACHED_VERSION_HEX ) && LIBMEMCACHED_VERSION_HEX >= 0x01000003
3809
+ REGISTER_MEMC_CLASS_CONST_LONG (OPT_DEAD_TIMEOUT , MEMCACHED_BEHAVIOR_DEAD_TIMEOUT );
3810
+ #endif
3808
3811
REGISTER_MEMC_CLASS_CONST_LONG (OPT_SEND_TIMEOUT , MEMCACHED_BEHAVIOR_SND_TIMEOUT );
3809
3812
REGISTER_MEMC_CLASS_CONST_LONG (OPT_RECV_TIMEOUT , MEMCACHED_BEHAVIOR_RCV_TIMEOUT );
3810
3813
REGISTER_MEMC_CLASS_CONST_LONG (OPT_POLL_TIMEOUT , MEMCACHED_BEHAVIOR_POLL_TIMEOUT );
You can’t perform that action at this time.
0 commit comments