Skip to content
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

Merge TLS messages sent on session resumption scenario #1459

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

vankoven
Copy link
Contributor

Second part of the changes required by the #1054

Merge TLS messages together when sending them to the client. The ttls_handshake_server_hello() and ttls_handshake_finished() declared their own buffers, which represented two separate message sets. In this PR both functions use a single buffer declared in ttls_handshake_server_step(). Now both functions only fills the buffer, while ttls_handshake_server_step() triggers the send process.

Copy link
Contributor

@krizhanovsky krizhanovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is good in general, but more work is required.

@vankoven vankoven merged commit 68403e9 into master Nov 13, 2020
@vankoven vankoven deleted the ik-merge-tls-messages branch November 13, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants