-
Notifications
You must be signed in to change notification settings - Fork 605
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
server support for MaxFragmentLength #585
Comments
Do you need that particular extension, or just something that works in the constrained environment? I was reading up on max_fragment_length and it looks like there's a newer RFC that covers similar use cases. |
Just something negotiable. Happy to use record_size_limit or whatnot.
…On Fri, Mar 19, 2021 at 3:48 PM Dirkjan Ochtman ***@***.***> wrote:
Do you need that particular extension, or just something that works in the
constrained environment? I was reading up on max_fragment_length and it
looks like there's a newer RFC <https://tools.ietf.org/html/rfc8449> that
covers similar use cases.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#585 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAD4T3QI4XLWJJFKT3RKQDTEOS7XANCNFSM4ZPHCK2A>
.
|
fwiw, reading over that RFC, I see it's only in the "proposed" state. I'm still happy to go with it if we can work out those details (and I'll also continue to emit max_fragment_length for those servers that support only it). edit: I finally was able to spot the codepoint for it:
|
I don't think we should implement either of those extensions. There are two reasons for that opinion:
|
@ctz Thanks, I was unaware of (1) and do mostly agree with (2). Mostly this just caught me out when I moved from a Java-based TLS server to rustls, and noticed the lack of support for it, which caught me out initially. No complaints from me if closed as WONTFIX. |
I've an embedded system with constrained resources, attempting to negotiate MaxFragmentLength extension with the server during ClientHello.
Seems rustls ignores that extension when supplied by the client, but enums.rs does acknowledge that the extension exists, along with the presence of the Fragmenter type. But it seems Fragmenter is statically configured for the server, and not on a per-connection negotiation with the client.
The text was updated successfully, but these errors were encountered: