@@ -37,7 +37,7 @@ memcached.sess_prefix = "memc.sess.key."
3737; default is Off
3838memcached.sess_consistent_hash = Off
3939
40- ; Allow failed memcached server to automatically be removed
40+ ; Allow failed memcached server to automatically be removed
4141memcached.sess_remove_failed = 1
4242
4343; Write data to a number of additional memcached servers
@@ -49,15 +49,17 @@ memcached.sess_remove_failed = 1
4949; which could have old data or no data at all
5050memcached.sess_number_of_replicas = 0
5151
52- ; memcached session binary mode
53- ; libmemcached replicas only work if binary mode is enabled
54- memcached.sess_binary = Off
52+ ; Use the memcached binary protocol for memcached sessions (Instead of the text protocol)
53+ ; libmemcached replicas work only if binary mode is enabled.
54+ ; However, certain proxies (such as twemproxy) will work only if the binary protocol is disabled.
55+ ; Default is On. In older versions of php-memcached, this setting was Off and was called memcached.sess_binary.
56+ memcached.sess_binary_protocol = On
5557
5658; memcached session replica read randomize
5759memcached.sess_randomize_replica_read = Off
5860
5961; memcached connect timeout value
60- ; In non-blocking mode this changes the value of the timeout
62+ ; In non-blocking mode this changes the value of the timeout
6163; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
6264memcached.sess_connect_timeout = 1000
6365
0 commit comments