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

Improve QUIC defragmentation of TLS packets. #173

Open
wants to merge 1 commit into
base: openssl-3.1.7+quic
Choose a base branch
from

Conversation

bwelling
Copy link

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.

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.
@wbl
Copy link
Collaborator

wbl commented Sep 24, 2024

@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)

@bwelling
Copy link
Author

I'm not sure what comment you mean, as in #158, I said

I'm not sure what VLA changes are wanted or needed, so it would probably be easier for someone who does know to make the changes.

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.

@wbl
Copy link
Collaborator

wbl commented Sep 24, 2024

Sorry, I was imprecise and meant flexible array members as the comment indicates would be preferable.

wbl added a commit to quictls/quictls that referenced this pull request Sep 25, 2024
wbl added a commit to quictls/quictls that referenced this pull request Sep 25, 2024
Based on quictls/openssl#173

Try 2 at CI: hoping windows sporadic
wbl added a commit to quictls/quictls that referenced this pull request Sep 26, 2024
Based on quictls/openssl#173

Try 2 at CI: hoping windows sporadic
wbl added a commit to quictls/quictls that referenced this pull request Sep 27, 2024
Based on quictls/openssl#173

Try 2 at CI: hoping windows sporadic
wbl added a commit to quictls/quictls that referenced this pull request Sep 27, 2024
Based on quictls/openssl#173

Try 2 at CI: hoping windows sporadic
wbl added a commit to quictls/quictls that referenced this pull request Oct 1, 2024
Based on quictls/openssl#173

Try 2 at CI: hoping windows sporadic
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.

4 participants