-
Notifications
You must be signed in to change notification settings - Fork 23
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
0.5.0 Actor crashed! handling POST request from Net::HTTP #70
Comments
Just found that the work around to always ensure the request is fully read by starting the breaking responder block with:
as suggested in #21 works around this bug too. |
here is the simplest reproduction i can find for problem (angelo 0.5.0, reel 0.6.2, ruby 2.3.1, ubuntu 14.04):
|
@damned thanks for your work on this, sorry I haven't responded until now. I'm working with the reel community to try to address this issue. |
see my comment over on reel. interesting about so, this should work even without the all of the complexity behind |
@damned @kenichi if you patch Reel::Request::Parser#current_request in you local reel like this
your test will pass.
maybe i can send a fix from angelo side or reel side. |
hi @respire thanks - i agree that is the problem, and i like the simplicity of the fix, but it causes reel specs to fail/hang on the pipelining stuff. i'm not opposed to taking that stuff out, but the larger reel org would need to consent. again, i don't think it's supported by modern browsers, and h2 makes h1.1 pipelining moot. |
hi @kenichi - thanks for your reply! actually it's just an example patch to indicate the problem. it's not the final fix, and I agree that it's better to fix from angelo side. i'll send another PR from angelo side when I have time. |
…y read related issue: kenichi#70
Using reel 0.6.1 got
Actor crashed!
ArgumentError: Reel::Request::StateMachine can't change state from 'closed' to 'headers'
when handling Net::HTTP POST
Raised issue in reel celluloid/reel#229
The text was updated successfully, but these errors were encountered: