My development environment is:
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-07-28 6586) (Java
nt VM 1.6.0_21) [x86-java]
When I tested on webrick, I can’t see this kind of errors, but after I
deploy to tomcat, it went error when I upload a file more than 80KB.
I google this bug, seems this is an rack bug in old version, but my rack
version is 1.2.1, and seems the bug is already fixed in this version.
Please help. Thanks.
By the way, here’s the error message:
EOFError (bad content body):
Sometimes, without the last two lines.
Update all gems(I guess the error happened in rack related, include
rack, rack-test, jruby-rack)
Regenerate war package