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 2008/03/25 23:32:19 UTC

DO NOT REPLY [Bug 44673] New: ServletInputStream still readable even when closed

https://issues.apache.org/bugzilla/show_bug.cgi?id=44673

           Summary: ServletInputStream still readable even when closed
           Product: Tomcat 5
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kame@cinemasie.com


Created an attachment (id=21716)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21716)
Echo "OK" if the behaviour is correct, "KO" otherwise

InputBuffer does not check "closed" in any read, mark, skip operation, thus
bytes can be read even when the application has requested to close the
inputstream. This causes programming problems to go unnoticed. See the attached
test case.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 44673] ServletInputStream still readable even when closed

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44673


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Mark Thomas <ma...@apache.org>  2008-07-30 10:41:51 PST ---
This has been fixed in 5.5.x and will be included in 5.5.27 onwards.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 44673] ServletInputStream still readable even when closed

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44673





--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-04-05 11:12:22 PST ---
This has been fixed in 6.0.x and will be included in the next release.
It has been proposed for inclusion in 5.0.x.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org