Re: AW: Tomcat 10 with Http2 and compression sometimes closes connection with Firefox

2022-07-04 Thread Mark Thomas
On 30/06/2022 07:40, Mark Thomas wrote: I think I'm going to need the sample app to investigate this. I have received the sample application and can recreate the issue. Going back to your original summary: 1) Main page was requested by Firefox from Tomcat (GET ...) 2) Tomcat sends the

Re: Websockets: get Reference to @ServerEndpoint in a Servlet ?

2022-07-04 Thread Mark Thomas
On 30/06/2022 11:56, Jürgen Weber wrote: Hi, use case: HTML clients connect to @ServerEndpoint, some Servlet.GET should send a message to connected HTML clients. I found no other way to have the Servlet have a reference to the ServerEndpoint than a hack with a static field, as in the Tomcat