tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Ricles <jgr...@alum.lehigh.edu>
Subject Re: CloseReason 1002
Date Tue, 02 Dec 2014 13:05:43 GMT
Mark,

Is there any way to do two back to back writes to a websocket with a
sort of blocking technique, and without using a sleep?

On Mon, Dec 1, 2014 at 3:13 PM, Mark Thomas <markt@apache.org> wrote:
> On 01/12/2014 18:30, Jason Ricles wrote:
>> What might be causing this error on concurrent writes in a websocket,
>
> The fact you are doing concurrent writes? The Java WebSocket API doesn't
> allow that. And it should stop you with a suitable exception.
>
> Mark
>
>> CloseReason: code [1002], reason [The client frame set the reserved
>> bits to [2] which was not supported by this endpoint]?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

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


Mime
View raw message