[Bug 61491] IllegalArgumentException thrown by PerMessageDeflate sendMessagePart()

2017-09-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61491

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Mark Thomas  ---
Fixed in:
- trunk for 9.0.0.M27 onwards
- 8.5.x for 8.5.21 onwards
- 8.0.x for 8.0.47 onwards
- 7.0.x for 7.0.82 onwards

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



[Bug 61491] IllegalArgumentException thrown by PerMessageDeflate sendMessagePart()

2017-09-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61491

--- Comment #2 from Mark Thomas  ---
I've managed to reproduce this.

It is triggered by a zero length message after a non-zero length message when
the compression context is retained between messages.

I'm starting to think about a fix.

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



[Bug 61491] IllegalArgumentException thrown by PerMessageDeflate sendMessagePart()

2017-09-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61491

Mark Thomas  changed:

   What|Removed |Added

 OS||All

--- Comment #1 from Mark Thomas  ---
>From the stack trace, this appears to be a duplicate of bug 59635.

Are you sure compressedPayload.limit() is zero? 1, 2 and 3 are also
possibilities.

What is really needed here is a test case. Can you provide the String that was
being sent at the time?

I'll take another look at the code but a reliable test case would make this a
lot simpler.

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