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

Hard break if found data after last boundary on MultipartParser #189

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

Kludex
Copy link
Owner

@Kludex Kludex commented Nov 24, 2024

@defnull Can you review this? This is part of your PR, but I think it already solves the issue mentioned.

@defnull
Copy link
Contributor

defnull commented Nov 26, 2024

LGTM, but only fixes half the issue. Maybe also remove the log line from the preamble (the if MultipartState.START block) and see how that performs? Or somehow make sure the log is only emitted once?

@Kludex
Copy link
Owner Author

Kludex commented Nov 26, 2024

LGTM, but only fixes half the issue. Maybe also remove the log line from the preamble (the if MultipartState.START block) and see how that performs? Or somehow make sure the log is only emitted once?

It did improve the performance. Thanks.

@Kludex Kludex merged commit 9205a0e into master Nov 28, 2024
6 checks passed
@Kludex Kludex deleted the break-after-founding-last-boundary branch November 28, 2024 19:10
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.

Question about the package
2 participants