tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28959] New: - IOException using CoyoteReader.readLine() but not using .read()
Date Thu, 13 May 2004 17:57:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28959>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28959

IOException using CoyoteReader.readLine() but not using .read()

           Summary: IOException using CoyoteReader.readLine() but not using
                    .read()
           Product: Tomcat 5
           Version: 5.0.24
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jim@netyourwork.com


I get IOExceptions when I use CoyoteReader.readLine to read the request's 
input if the request has many lines to it.  If I read the request using 
CoyoteReader.read(), it works fine.  The stack trace (from my bug test code) 
is below.  I'll attach a war file that demonstrates the bug, as well as source 
code.

I originally discovered this under 5.0.19, but thought it was caused by bug 
#27447.  That bug was reported fixed in 5.0.20, but that fix did not fix this 
problem.

2004-05-13 10:30:15 StandardWrapperValve[bugTest]: Servlet.service() for 
servlet bugTest threw exception
java.io.IOException
	at org.apache.coyote.tomcat5.InputBuffer.reset(InputBuffer.java:440)
	at org.apache.coyote.tomcat5.CoyoteReader.reset(CoyoteReader.java:121)
	at org.apache.coyote.tomcat5.CoyoteReader.readLine
(CoyoteReader.java:178)
	at jimpkg.BugTest.doPost(BugTest.java:45)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

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


Mime
View raw message