Skip to content

Commit

Permalink
MB-2690 - don't assert on STATS error
Browse files Browse the repository at this point in the history
Change-Id: I09987384feb3a04f212dcb206d9668b44703e749
Reviewed-on: http://review.membase.org/3579
Tested-by: Dustin Sallings <dustin@spy.net>
Reviewed-by: Dustin Sallings <dustin@spy.net>
  • Loading branch information
steveyen authored and dustin committed Nov 8, 2010
1 parent 262e4c7 commit ec495d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cproxy_protocol_a2b.c
Expand Up @@ -976,10 +976,10 @@ void a2b_process_downstream_response(conn *c) {
item_remove(it);
conn_set_state(c, conn_new_cmd);
} else {
// Handle the stats terminator.
// Handle the stats terminator, which might have an error or
// non-empty bodylen, for some implementations of memcached protocol.
//
assert(it == NULL);
assert(bodylen == 0);
conn_set_state(c, conn_pause);
}
break;
Expand Down

0 comments on commit ec495d2

Please sign in to comment.