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

Make Request#params not rescue EOFError #1572

Merged
merged 1 commit into from Feb 7, 2020

Conversation

jeremyevans
Copy link
Contributor

There was no indication why this was done originally, and it is
possible that it will rely in silent data loss.

Fixes #761

There was no indication why this was done originally, and it is
possible that it will rely in silent data loss.

Fixes rack#761
@ioquatix
Copy link
Member

ioquatix commented Feb 7, 2020

Looks good to me. Seems CHANGELOG includes unrelated changes?

@jeremyevans
Copy link
Contributor Author

Yes, I was fixing the wording of a previous CHANGELOG entry.

@jeremyevans jeremyevans merged commit a3380a8 into rack:master Feb 7, 2020
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
bschmeck added a commit to bschmeck/grape that referenced this pull request Feb 9, 2021
In v2.2.0, Rack started raising an EOFError when given an empty body with a
multipart upload - rack/rack#1572  Previously, Rack had
swallowed this error.
@dblock
Copy link
Contributor

dblock commented Feb 10, 2021

This caused ruby-grape/grape#2161, was this the right decision to make this change here?

@jeremyevans
Copy link
Contributor Author

I think so. Silently ignoring errors is a bad idea. Looks like @ioquatix agreed. Not sure how other committers feel about it.

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.

params is empty if multipart request boundary is incorrect
3 participants