Re: Tomcat 9, websocket server, threading

2023-06-17 Thread Nikolai Zhubr
Hi, On 6/14/23 19:43, Mark Thomas wrote: [...] There is no multi-threading within a single WebSocket connection. It is explicitly not allowed by the Jakarta WebSocket specification and Tomcat follows that rule. Could you please point out where such guarantee is implemented exactly? From what

Re: Tomcat 9, websocket server, threading

2023-06-14 Thread Nikolai Zhubr
Hi Mark, On 6/14/23 19:43, Mark Thomas wrote: There are multiple things that do not make sense in the above paragraph. It well might be. Tomcat is quite large and complicated, I have not dig it through really thoroughly yet, that's why I asked here. Servlets play no role in processing WebS

Tomcat 9, websocket server, threading

2023-06-14 Thread Nikolai Zhubr
Hi all, I'm trying to migrate my servlet previously running on Tomcat 7 for ages, to Tomcat 9.0.36 as per openSuse 15.4, and facing some problem. The servlet in question is using websocket, basically as a security-enhanced http-friendly replacement of plain-old TCP socket. That is, as a bi-d