https://issues.apache.org/bugzilla/show_bug.cgi?id=55799

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #15 from Konstantin Kolinko <knst.koli...@gmail.com> ---
REOPENING, there is a regression

See thread on users@,
"IllegalStateException sending WebSocket message that worked a few months ago"
http://tomcat.markmail.org/thread/75uisvwve2l2u3n2

Apparently using an OutputStream obtained via
WsRemoteEndpointImplBase.getSendStream() is broken.


There is a test case for a writer, TestWsRemoteEndpoint.doTestWriter(..). It
seems that there is no test case for a stream.

There is a small difference in implementation between doWrite() methods of
WsRemoteEndpointImplBase$WsWriter and WsRemoteEndpointImplBase$WsOutputStream:

The writer calls a package-visible method that does not perform a state check.
The stream calls a public method that performs a state check and fails.

-- 
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

Reply via email to