-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support CRC validation on entire message (#448)
* So far, CRC validation has been done on the message header, excluding the user payload like log entries. * Added a new Asio service option to enable CRC validation on the entire message. It is disabled by default for backward compatibility. * Also added a callback function that can be invoked on any corrupted message, so as to do more investigation on user application side. * Removed direct buffer get/put API calls, instead refactored the code with `buffer_serializer`.
- Loading branch information
1 parent
a8ca233
commit 41cc11d
Showing
4 changed files
with
209 additions
and
51 deletions.
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
Oops, something went wrong.