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
IllegalStateException for HEAD requests responded with 404 #1184
Comments
Since the fix for #1045, Jetty checks if the written response body and the content length match, aborting if they don't. By default, However, the default 404 response body generated by Jetty was not written to the wrapped |
I am still able to reproduce this with jetty
|
Not all code paths were covered, so the issue is still present for requests with the |
I have the same issue with the version I cannot reproduce it by myself. However I see it in the production environment. Stacktrace:
The headers of the request:
Have you any idea why this is happening? |
@thomashunziker you said you sent a
If this is easy to reproduce, i would suggest temporarily disabling your filters and trying again. |
@joakime Thank you very much for your help. After finally I was able to reproduce the error locally I could debug / trace it down. The solution was to use the latest version 9.4.6. Means one of the changes made in between version 9.4.4 and 9.4.6 has fixed the issue. Sorry for bothering you. |
@thomashunziker thanks for the feedback. closing this issue. |
The text was updated successfully, but these errors were encountered: