Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCBC-156 Custom handling for OBSERVE during packet errors
The ep-engine renders meaningful body for observe responses only if status code is 0 (PROTOCOL_BINARY_RESPONSE_SUCCESS). We shouldn't interpret response body in other cases, just decode & failout request instead. Change-Id: Ic1e0ea5d8ac5e7b44f20e0ab79c6ddc58b5f758b Reviewed-on: http://review.couchbase.org/23570 Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com> Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters