-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate CRMP to messaging layer and enable it by default (#4048)
* Integrate CRMP to messaging layer and enable it by default * Address review comments * Add re-transmition test with dropped sent packets * Use reference to share mContextPool between ReliableMessageManager and ExchangeManager * Use PacketBufferHandle instead of raw PacketBuffer to store message buffer in retransmit table * Retain an extra handle of msgBuf before sending for following rewinding * Retain the buffer within SecureSessionMgr and update the retrans entry * Address the review comments Update src/transport/SecureSessionMgr.h Co-authored-by: Boris Zbarsky <[email protected]> * Take care of various error cases in HandleMessage * Update src/messaging/ExchangeContext.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/messaging/ExchangeContext.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/messaging/ExchangeContext.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/messaging/ExchangeContext.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/messaging/ExchangeContext.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/messaging/ExchangeMgr.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Use initializer to initilize the EncryptedPacketBufferHandle memebers * Simplify sendMessage API for sending encrypted message * Skip re-setting up the packet header when the message is already encrypted. * Add the Unit test for SecureSessionMgr Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
1 parent
cb84e54
commit cb23e0c
Showing
15 changed files
with
747 additions
and
430 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
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.