-
Notifications
You must be signed in to change notification settings - Fork 203
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
FtRemote: The connection is reset on error instead of triggering an exception. #291
Comments
@Bertram25 can't we just reproduce the same problem with this:
what do you think? for simplicity of the problem description |
@yegor256 I just tested by replacing the take variable declaration by yours, but the HTTPException then produced is correct. I've tried to gather more details tonight toward a solution but the crash was too rare for that. I'll keep on doing this the next few days. |
@Bertram25 any update here? |
@yegor256 Sorry for the slow answer! The error is gone thanks to newer changes (at least for me) and I wanted to bisect to make sure. For info, the bug was visible at this commit: dde36ea Thus, to me, both this issue and #253 seem to be fixed by 4fd2637 I also tested the test given in description, the test in #253 with latest changes for several minutes to make sure and everything is working for me so far. If you agree, I can close this issue. |
@Bertram25 thanks for the analysis! please close the issue |
As stated by @dmzaytsev in #253 , when consuming a bad request, FtRemote will break the connection instead of triggering an exception due to the illformed request, or when the multipart name isn't found.
Here is a debug test usable to reproduce the bug, based on
org.takes.rq.RqMultipartTest.consumesHttpRequest
: (Thanks again to @dmzaytsev for the lead about this.)Tested on OpenJDK7 (Linux 64bits)
The text was updated successfully, but these errors were encountered: