Skip to content

http2 and all h3 filters, fix ctx init - #14505

Closed
icing wants to merge 3 commits into
curl:masterfrom
icing:h2h3-ctx-init-fix
Closed

icing wants to merge 3 commits into
curl:masterfrom
icing:h2h3-ctx-init-fix

Conversation

@icing

@icing icing commented Aug 12, 2024

Copy link
Copy Markdown
Contributor

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.

icing added 2 commits August 12, 2024 15:42
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