-
Notifications
You must be signed in to change notification settings - Fork 6
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
NonBlockingServletIo request body truncated to one chunk #303
Comments
The other bit of note is that calling the server via curl didn't have this problem. I believe that's because curl works with 16k chunks by default, but stopped exploring when I found the work-around. |
This is still actual for v0.21.2 and servlets deployed on both Tomcat 8 and 9. |
http4s/http4s#4762 would seem like it would expose this. If anyone is still seeing this in the wild, please speak up, and we'll reopen. |
@rossabaker - I'm seeing this with http4s-servlet 0.23.15 . (I finally got to upgrade to the latest cats!) The work-around involved bumbling through a deprecated constructor insetad of using the builder:
|
This project has been migrated into a dedicated repository — https://github.com/http4s/http4s-servlet. UPD: uh oh, I'm lacking access to that repo, so someone with needed rights, please proceed further. |
NonBlockingServletIo request bodies are truncated to just one chunk. (With Tomcat 8.0.39, JDK 1.8.0_121-b13 , scala 2.11.12 , and http4s 0.20 M4.)
Work-around is to use BlockingServletIo, which does not have this problem.
This could be related to http4s/http4s#1724 or http4s/http4s#541 .
The server is
The client is
Let me know if you need more odd parts like the web.xml to reproduce the problem .
The text was updated successfully, but these errors were encountered: