This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Respect context. Before, we didn't respect the context when writing/reading the final nonce. 2. Don't make assumptions about connection buffering. Read/write handshake messages in parallel. 3. Return messages from ReadMsg to the buffer pool. 4. Close the connection on timeout. We can't reuse it at this point as there may be an outstanding writer/reader (and we don't allow parallel reads/writes). 5. Don't assume that Write always writes the full buffer.
- Loading branch information
Showing
2 changed files
with
82 additions
and
58 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