You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/23 17:40:37 UTC

DO NOT REPLY [Bug 5983] New: - Cannot deal with common buggy POST from applets

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5983

Cannot deal with common buggy POST from applets

           Summary: Cannot deal with common buggy POST from applets
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: olaf.jahn@zamioculcas.net


Tomcat 3.3a cannot deal with wrong Content-Length POST requests
generated by common applet VMs. This was not a problem in Tomcat 3.2
(perhaps it did not do keep-alive, did it?)

The Java implementations contained in at least NS 4.7 (Linux + Win)
and IE 5.5 show the following behaviour:

When POSTing via (Http)URLConnection they append on or two bytes of
CR/LF without adjusting the Content-Length. Although Tomcat is
able to recognize the following requests coming over the same TCP/IP
connection it gets confused with their bodies: With (almost) every 
subsequent request the body read from request.getInputStream() contains 
more and more bytes left over from the previous request.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>