projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update logic around UDP.
[m6w6/libmemcached]
/
libmemcached
/
purge.cc
diff --git
a/libmemcached/purge.cc
b/libmemcached/purge.cc
index 86e379e493dfef6930e4e3f716b65c1c8c1ba9bc..d80785ffb97b367c26cc7f92faacaabb09d37e65 100644
(file)
--- a/
libmemcached/purge.cc
+++ b/
libmemcached/purge.cc
@@
-105,9
+105,11
@@
memcached_return_t memcached_purge(memcached_server_write_instance_st ptr)
if (rc== MEMCACHED_PROTOCOL_ERROR or rc == MEMCACHED_UNKNOWN_READ_FAILURE or rc == MEMCACHED_READ_FAILURE)
{
WATCHPOINT_ERROR(rc);
if (rc== MEMCACHED_PROTOCOL_ERROR or rc == MEMCACHED_UNKNOWN_READ_FAILURE or rc == MEMCACHED_READ_FAILURE)
{
WATCHPOINT_ERROR(rc);
- ret= rc;
memcached_io_reset(ptr);
memcached_io_reset(ptr);
- memcached_set_error(*ptr, rc, MEMCACHED_AT);
+ ret= rc;
+#if 0
+ ret= memcached_set_error(*ptr, rc, MEMCACHED_AT);
+#endif
}
if (ptr->root->callbacks != NULL)
}
if (ptr->root->callbacks != NULL)