Skip to content

fix: Stop reading to end of stream in LimitedField#5807

Merged
elramen merged 4 commits intomasterfrom
ps3
Apr 13, 2026
Merged

fix: Stop reading to end of stream in LimitedField#5807
elramen merged 4 commits intomasterfrom
ps3

Conversation

@elramen
Copy link
Copy Markdown
Member

@elramen elramen commented Apr 9, 2026

Stop reading to end of stream in LimitedField - consuming an entire field before reading the next one is not necessary as multer already handles this internally.

Ref: INGEST-830

@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 9, 2026

@elramen elramen marked this pull request as ready for review April 9, 2026 15:38
@elramen elramen requested a review from a team as a code owner April 9, 2026 15:38
@elramen elramen requested a review from tobias-wilfert April 9, 2026 15:43
@tobias-wilfert tobias-wilfert requested a review from Dav1dde April 10, 2026 06:53
@tobias-wilfert
Copy link
Copy Markdown
Member

I could swear this logic was necessary but seems like that is not the case indeed: https://docs.rs/multer/latest/multer/struct.Multipart.html#method.next_field

Copy link
Copy Markdown
Member

@tobias-wilfert tobias-wilfert left a comment

Choose a reason for hiding this comment

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

Maybe also have David have a look, just in case he sees a reason why this would still be needed.

@elramen elramen requested a review from Dav1dde April 10, 2026 13:39
@elramen elramen requested a review from Dav1dde April 13, 2026 11:16
@elramen elramen added this pull request to the merge queue Apr 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 13, 2026
@elramen elramen added this pull request to the merge queue Apr 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 13, 2026
@elramen elramen added this pull request to the merge queue Apr 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 13, 2026
@elramen elramen added this pull request to the merge queue Apr 13, 2026
Merged via the queue into master with commit 82565ad Apr 13, 2026
30 checks passed
@elramen elramen deleted the ps3 branch April 13, 2026 15:16
@elramen elramen restored the ps3 branch April 13, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants