tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54800] Possible thread/memory leak with use of WebSocketContainer
Date Sat, 20 Apr 2013 17:40:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54800

--- Comment #2 from rstoyanchev@yahoo.com ---
Created attachment 30218
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30218&action=edit
Patch that modifies EchoEndpoint to add a client connection

It should be as easy as opening a client WebSocket connection. See the attached
patch that modifies the echo sample. Once the patch is applied, open the echo
HTML page and send a message. That will trigger added code. Then shut down the
server and you should see this message:

SEVERE: The web application [/examples] appears to have started a thread named
[WebSocket background processing] but has failed to stop it. This is very
likely to create a memory leak.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message