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 <ma...@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-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org