-
Notifications
You must be signed in to change notification settings - Fork 51
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
Improve QUIC defragmentation of TLS packets. #173
base: openssl-3.1.7+quic
Are you sure you want to change the base?
Conversation
This avoids excessive persistent memory usage associated with every QUIC connection, by avoiding a large (21k) preallocation of a buffer used for defragmentation of TLS packets. Instead of preallocating space for all TLS data, this only stores TLS fragments that cannot be fully assembled on the connection.
@bwelling would you like to adjust this to use variable length arrays as your comment suggests? (Also we can take it on quictls/quictls, but I can do the mechanics of that) |
I'm not sure what comment you mean, as in #158, I said
I've never used C VLAs, and I don't know exactly what you're looking for, so I'd (still) rather someone who does know do it. |
Sorry, I was imprecise and meant flexible array members as the comment indicates would be preferable. |
Based on quictls/openssl#173 Try 2 at CI: hoping windows sporadic
Based on quictls/openssl#173 Try 2 at CI: hoping windows sporadic
Based on quictls/openssl#173 Try 2 at CI: hoping windows sporadic
Based on quictls/openssl#173 Try 2 at CI: hoping windows sporadic
Based on quictls/openssl#173 Try 2 at CI: hoping windows sporadic
This avoids excessive persistent memory usage associated with every QUIC connection, by avoiding a large (21k) preallocation of a buffer used for defragmentation of TLS packets.
Instead of preallocating space for all TLS data, this only stores TLS fragments that cannot be fully assembled on the connection.
This replaces #158.