You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/04/19 01:42:14 UTC

[Bug 57831] Fragmented JSON Messages Causing IllegalStateException

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

--- Comment #1 from Kenneth Gendron <ke...@gmail.com> ---
The changes to PerMessageDeflate class have caused the opCode for the
subsequent fragments to change from OPCODE_TEXT to OPCODE_CONTINUATION (i.e.
they are transformed).  This cause the "Util.isText(mp.getOpCode())" code at
line 406 of the WsRemoteEndpointImplBase class to return false.  

I suspect other things are being affected by the PerMessageDeflate class
changes, most notably the other send methods; however, adding "||
Util.isContinuation(mp.getOpCode())" will fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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