[Bug 57831] Fragmented JSON Messages Causing IllegalStateException

2015-04-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57831 Mark Thomas changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug 57831] Fragmented JSON Messages Causing IllegalStateException

2015-04-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57831 --- Comment #3 from Kenneth Gendron --- The fix I proposed would have broken binary transmission. Instead simply changing line 410 in WsRemoteEndpointImplBase to "if (text != isText && mp.getOpCode() != Constants.OPCODE_CONTINUATION) {" should

[Bug 57831] Fragmented JSON Messages Causing IllegalStateException

2015-04-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57831 --- Comment #2 from Kenneth Gendron --- Line 451 in PerMessageDeflate. Just as an aside this should be set to Constants.OPCODE_CONTINUATION, not zero "0" explicitly. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 57831] Fragmented JSON Messages Causing IllegalStateException

2015-04-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57831 --- Comment #1 from Kenneth Gendron --- 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.ge