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

--- Comment #3 from Peter Teunissen <peter.teunis...@cerner.com> ---
I tested this by replaying the transaction through fiddler.

When I hit it through CURL, it always posts is such away that in one call to
readLine() we get all the data.

When submitted from fiddler, it does the first readLine(), then enters the loop
to do additional readLines() and fails on the last:

Content-length:8192
Read-1:109 bytes  magnis dis parturient montes, nascetur ridiculus mus. Donec
quam felis, ultricies nec, pellentesque eu, pret
Read-2:122 bytes ium uis, sem. Nulla consequat massa quis enim. Donec pede
justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim
Read-2:124 bytes  justo, rhoncus ut, imperdiet a, venenatis vitae, justo. 

(many Read-2's)

ipsum aliquam libero, non adipiscing dolor urna a orci.
java.io.IOExceptionError caught:null
Size: 7938 Len:27 Request:!!! We had an error!!! null

    at org.apache.catalina.connector.InputBuffer.reset(InputBuffer.java:521)
    at org.apache.catalina.connector.CoyoteReader.reset(CoyoteReader.java:142)


Through CURL with an input file:

$ curl -is -X POST --data @test.log http://localhost:8080/coyrdr/test

Content-length:8192
Read-1:8192 bytes  magnis dis parturient 
--blablabla--
aliquam libero, non adipiscing dolor urna a orci. Nulla porta dolor. Class
aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
hymenaeos. Pelxxl
Reading-2 string=null

-- 
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