summary |
shortlog |
log |
commit | commitdiff |
tree |
github
raw |
patch |
inline | side by side (from parent 1:
4b540f4)
MEMCACHED_AUTH_CONTINUE was considered a failure condition which led to
IO reset
static inline bool memcached_failed(memcached_return_t rc)
{
static inline bool memcached_failed(memcached_return_t rc)
{
- return (rc != MEMCACHED_SUCCESS &&
+ return (rc != MEMCACHED_AUTH_CONTINUE &&
+ rc != MEMCACHED_BUFFERED &&
+ rc != MEMCACHED_DELETED &&
+ rc != MEMCACHED_ITEM &&
+ rc != MEMCACHED_STAT &&
rc != MEMCACHED_STORED &&
rc != MEMCACHED_STORED &&
- rc != MEMCACHED_STAT &&
- rc != MEMCACHED_DELETED &&
- rc != MEMCACHED_BUFFERED &&
+ rc != MEMCACHED_SUCCESS &&
rc != MEMCACHED_VALUE);
}
static inline bool memcached_fatal(memcached_return_t rc)
{
rc != MEMCACHED_VALUE);
}
static inline bool memcached_fatal(memcached_return_t rc)
{
+ return (rc != MEMCACHED_AUTH_CONTINUE &&
rc != MEMCACHED_BUFFERED &&
rc != MEMCACHED_CLIENT_ERROR &&
rc != MEMCACHED_DATA_EXISTS &&
rc != MEMCACHED_BUFFERED &&
rc != MEMCACHED_CLIENT_ERROR &&
rc != MEMCACHED_DATA_EXISTS &&