[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #9 from Christopher Schultz --- Filed the output-oriented bug under bug #57674. -- You are receiving this mail because: You are the assignee for the bug. - To un

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #7 from Christopher Schultz --- I added some debug logging to the line immediately before the writeBuffer.put(), and I got these logs before the exception: Mar 07, 2015 2:02:09 PM org.apache.coyote.ajp.AjpNioProcessor output WARNIN

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 Christopher Schultz changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXE

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #5 from Christopher Schultz --- (In reply to Mark Thomas from comment #4) > Fixed in 8.0.x and 8.0.21 onwards and in 7.0.x for 7.0.60 onwards. Excellent, I'll reproduce, then update and re-test in my environment. > Neither trunk

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #3 from Mark Thomas --- I have a test case for this. Sending any AJP request body chunk message with size > socket read buffer is sufficient to trigger this with NIO or NIO2. BIO, APR and 9.0.x are all unaffected. The fix looks to

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #2 from Christopher Schultz --- (In reply to Konstantin Kolinko from comment #1) > What version the stacktrace is from? > > > at java.nio.Buffer.limit(Buffer.java:275) > > The line matches Java 8u31 sources. > The IAE is triggered

[Bug 57638] IllegalArgumentException in AjpNioProcessor when packetSize > 8192

2015-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57638 --- Comment #1 from Konstantin Kolinko --- What version the stacktrace is from? > at java.nio.Buffer.limit(Buffer.java:275) The line matches Java 8u31 sources. The IAE is triggered by the following check: [[[ public final Buffer limit(int ne