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

Release chunks on filter exceptions #1343

Merged
merged 1 commit into from Oct 17, 2022
Merged

Release chunks on filter exceptions #1343

merged 1 commit into from Oct 17, 2022

Conversation

artgon
Copy link
Contributor

@artgon artgon commented Oct 17, 2022

If we're processing a chunk and a filter exception happens, we bail out of the request and return a 500. Since we're in the middle of handling the chunk and may not have added it to the body contents, we need to make sure to release it.

Copy link
Contributor

@jguerra jguerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find

@artgon artgon merged commit 737b9a3 into master Oct 17, 2022
@artgon artgon deleted the filter-fail-release branch October 17, 2022 18:23
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.

None yet

3 participants