Repository navigation
Rework plaintext I/O interface - #629
Merged
Merged
Conversation
As well as plaintext and TLS buffer IO status. The former is useful to ensure a close_notify doesn't overtake already-received bytes. Both are useful to predict the buffer sizes that'll be needed on the next read()/write_tls().
- Ok(0) (ie, EOF) is reserved for signalling a received close_notify. - Err(ErrorKind::WouldBlock) happens when there are no bytes to read.
These are returned via reader()/writer()
This code never did anything; make flush_plaintext private.
Align errors for TLS1.2 and TLS1.3 if there are no overlapping signature schemes.
ctz
force-pushed
the
jbp-rework-io-interface
branch
from
April 11, 2021 09:22
7d8dde3 to
2c9c899
Compare
Codecov Report
@@ Coverage Diff @@
## main #629 +/- ##
==========================================
+ Coverage 96.22% 96.49% +0.27%
==========================================
Files 52 52
Lines 9051 9098 +47
==========================================
+ Hits 8709 8779 +70
+ Misses 342 319 -23
Continue to review full report at Codecov.
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #563 (comment) for details