-
Notifications
You must be signed in to change notification settings - Fork 322
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
EOFError: end of file reached #46
Comments
Can you post the backtrace? (at least the parts happening inside the HTTP Gem itself) |
Oh yes, certainly.. I guess my error reports get half-assed when leaving one place to head for another :p
|
Also, here's a curl for comparison if it helps:
|
It's likely it simply isn't properly handling EOFError here. We've been moving to encapsulate all these things as SocketErrors, but it looks like this case was missing. Thanks for the report. It should be easy to fix. |
Observing the same behavior here (possibly when Content-Length is not set on response headers). The following fix, that I use so far, seems to work: blambeau@b967bf9 Unfortunately, I'm currently unable to run the tests on my computer... |
Should we merge blambeau@b967bf9 ? |
Boom: 78036f3 Call this one good then? |
@JustinAiken Please re-open if this issue continues to occur in |
@blambeau thanks! |
Seeing this behavior on both 0.5.0 and HEAD:
(Don't mind the Hyrda stuff, switching from Typheous haven't renamed the classes yet)
The text was updated successfully, but these errors were encountered: