[TYRUS-210] Decoder.willDecode() is called twice for every message. Created: 05/Jul/13  Updated: 15/Jul/13  Resolved: 08/Jul/13

Status: Resolved
Project: tyrus
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.2

Type: Improvement Priority: Minor
Reporter: tminato Assignee: Pavel Bucek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Issue Links:
Related
is related to TYRUS-215 TextDecoder is used no matter that wi... Resolved

 Description   

I wrote the simple JSON data exchange Application using WebSocket 1.0. Then Decoder.Text#willDecode() is called for every JSON message.

Deocer.Binary#willDecode() maybe have the same problem, too. see "Decoder#willDecode is called twice for each ByteBuffer?".
http://stackoverflow.com/questions/17131946/bug-in-glassfish-4-or-tyrus-decoderwilldecode-is-called-twice-for-each-bytebuf



 Comments   
Comment by Pavel Bucek [ 08/Jul/13 ]

fixed in the trunk (rev 716)

Generated at Sun Feb 07 13:18:53 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.