https://bz.apache.org/bugzilla/show_bug.cgi?id=63182

--- Comment #4 from xax...@gmail.com ---
Created attachment 36439
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36439&action=edit
Test case for this report

attached the test case, including the servlet, client and the web.xml.

also, the console output sample, please check out the line after
'>>>>>>>>>>>>>>>>>>>>>>', which indicate the container will invoke the
ondataavailable method while is ready returning true, which is not correct:

ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 1017
                                total: 3,132,935
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 1024
                                total: 3,133,959
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 728
                                total: 3,134,687
onDataAvailable: from container thread
ready after: false
onDataAvailable: from container thread
read: 289
                                total: 3,134,976

>>>>>>>>>>>>>>>>>>>>>>
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 1024
onDataAvailable: from container thread
                                total: 3,136,000
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 1017
                                total: 3,137,017
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
read: 1024
read: 1024
read: 1017
                                total: 3,140,082
                                total: 3,139,065
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
                                total: 3,138,041
ready after: true
ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
onDataAvailable: from non container thread, because isready return true, after
read
read: 1017
                                total:
3,141,099org.apache.catalina.connector.ClientAbortException:
java.io.IOException: Invalid end of line sequence (character other than CR or
LF found)

read: 1024      at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:348)

ready after: true
onDataAvailable: from non container thread, because isready return true, after
read
        at
org.apache.catalina.connector.InputBuffer.checkByteBufferEof(InputBuffer.java:663)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to