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

Make max fragment length optional and send in client hello #111

Merged
merged 3 commits into from
Apr 25, 2023

Conversation

bugadani
Copy link
Collaborator

@bugadani bugadani commented Apr 23, 2023

One needs to be careful with this as servers may end up sending fragmented records (cc #110), but this setting can place a guarantee on the upper bounds of the size of the read/write buffer. One caveat is that the plaintext fragment length =/= record length so the buffers actually need some overhead.

Includes some minor improvements extracted from #109

@bugadani bugadani marked this pull request as draft April 23, 2023 12:22
@bugadani bugadani force-pushed the mfl branch 2 times, most recently from 98c665f to 382a6c7 Compare April 23, 2023 12:30
@bugadani bugadani marked this pull request as ready for review April 23, 2023 12:30
@bugadani bugadani requested a review from lulf April 23, 2023 12:37
src/config.rs Outdated Show resolved Hide resolved
@bugadani bugadani merged commit 2e02c27 into drogue-iot:main Apr 25, 2023
@bugadani bugadani deleted the mfl branch April 25, 2023 07:37
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