-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor simple_https_server
and add self-test.
#46
Conversation
…se` workspace member. Note: In the next step that code will be reused by `simple_https_server`.
Note: This is used in both client and server.
Note: This is used in the next commit to implement the self-test.
Test if Bertie's `simple_https_client` can finish the handshake with Bertie's `simple_https_server`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, generally looks good to me. But can you add some description to the new crate and some of the new things?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's somehow resolve the last remaining comment, then this is good to go.
Co-authored-by: Franziskus Kiefer <franziskuskiefer@gmail.com>
Co-authored-by: Franziskus Kiefer <franziskuskiefer@gmail.com>
* Cleanup * Add tracing * Handle errors better
This PR partially addresses #7 as it implements the self-test.
The functions
read_bytes
,read_record
,put_record
, andget_ccs_message
were replaced by theRecordStream
implementation as already done for the client code. Thus, client and server now share functionality.Motivation and Context
The refactoring is required to make the Bertie server code callable via Rust.
Checklist