Summary: | CGI cannot process large content bodies (4.1.31 and 5.0.28) | ||
---|---|---|---|
Product: | Tomcat 4 | Reporter: | Mark Claassen <mac> |
Component: | Servlets:CGI | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.1.31 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Attachments: | A working CGI servlet class |
Description
Mark Claassen
2004-11-29 20:57:41 UTC
Created attachment 13584 [details]
A working CGI servlet class
Don't know what type of file a "patch" file is supposed to be, but this the fix
for the large file issue we were having.
Patches are supposed to be in diff -u format, not the whole file. For this and other information, please read http://www.apache.org/dev/contributors.html#patches. Everything but the toString() issue has been fixed as a result of fixing other bugs. Fix for this has been applied to 4.1.x and 5.5.x The root cause of the cast exception is at line 1710 (for CVS revision 1.31 in TC4.1.x) where the content length is added as an integer rather than as a string. I have fixed the root cause rather than apply your toString() changes. Thanks again for your CGI bug reports. If you find any more, let us know. |