Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow blocking transports underneath rustls::Stream
This corrects a bug where we'd accept new plaintext, but transient errors from a non-blocking transport would take precedence. This gives the caller the impression no plaintext has been written, and duplication results. Now we don't report errors from the the speculative write after new plaintext is accepted.
- Loading branch information
Showing
3 changed files
with
69 additions
and
3 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