https://issues.apache.org/bugzilla/show_bug.cgi?id=55221
Stoyan Boshev <s.bos...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from Stoyan Boshev <s.bos...@gmail.com> --- I think I found where the problem is. The bug is in WsSession.sendCloseMessage(). This method creates a ByteBuffer with size 125, but the closeReason which is added in this buffer may be way beyond this limit. In such case it will throw BufferOverflowException and cause the handlers not being notified. Perhaps the close reason needs to be truncated in order to fit the maximum limit of the buffer. In my case the close reason was "Unable to complete read due to destination buffer overflow. Destination is [8,192] bytes in size and currently contains [0] bytes." -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org