Permalink
Browse files

[backport] CCBC-136: do not abort when purging SASL commands

Change-Id: Ifdf13dd1a21b4bc343bbdab7b68d0e0c2515663b
Reviewed-on: http://review.couchbase.org/23105
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  • Loading branch information...
1 parent aff02fb commit 2cec9b9a9a2cba0af92e52476b77160561868cc6 @avsej avsej committed Dec 5, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/server.c
View
@@ -189,15 +189,9 @@ void libcouchbase_purge_single_server(libcouchbase_server_t *server,
keyptr, ntohs(req.request.keylen), 0, 0);
break;
case PROTOCOL_BINARY_CMD_SASL_LIST_MECHS:
- abort();
- break;
-
case PROTOCOL_BINARY_CMD_SASL_AUTH:
- abort();
- break;
-
case PROTOCOL_BINARY_CMD_SASL_STEP:
- abort();
+ /* no need to notify user about these commands */
break;
case PROTOCOL_BINARY_CMD_TOUCH:

0 comments on commit 2cec9b9

Please sign in to comment.