There's a corresponding problem in memcached_behavior_get:
case MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS: case MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT: return ptr->server_failure_limit;
should read:
case MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS: return ptr->flags.auto_eject_hosts;
case MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT: return ptr->server_failure_limit;
There's a corresponding problem in memcached_ behavior_ get:
case MEMCACHED_ BEHAVIOR_ REMOVE_ FAILED_ SERVERS: BEHAVIOR_ SERVER_ FAILURE_ LIMIT: failure_ limit;
case MEMCACHED_
return ptr->server_
should read:
case MEMCACHED_ BEHAVIOR_ REMOVE_ FAILED_ SERVERS: auto_eject_ hosts;
return ptr->flags.
case MEMCACHED_ BEHAVIOR_ SERVER_ FAILURE_ LIMIT: failure_ limit;
return ptr->server_