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

http2 and all h3 filters, fix ctx init #14505

Closed
wants to merge 3 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Aug 12, 2024

Members of the filter context, like stream hash and buffers, need to be initialized early and protected by a flag to also avoid double cleanup.

This allow the context to be used safely before a connect() is started and the other parts of the context are set up.

Members of the filter context, like stream hash and buffers, need to
be initialized early and protected by a flag to also avoid double
cleanup.

This allow the context to be used safely before a connect() is started
and the other parts of the context are set up.
This will release the init members of ctx only when the
filter is destroyed.
@bagder bagder closed this in cb17c06 Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant