On 21/02/2012 14:49, Konstantin Kolinko wrote: > Note that Buildbot fails as well. > > The error is in TestWebSocket, > [[[ > Testcase: testSimple took 3.875 sec > FAILED > null > junit.framework.AssertionFailedError > at > org.apache.catalina.websocket.TestWebSocket.readMessage(TestWebSocket.java:149) > at > org.apache.catalina.websocket.TestWebSocket.testSimple(TestWebSocket.java:95) > ]]] > > The code at readMessage() is: > > 147 // Get payload length > 148 int len = is.read() & 0x7F; > 149 assertTrue(len < 126); > > From debugging the len value on line 148 is 126. > > In writeMessage() method the len value was 3. > > Best regards, > Konstantin Kolinko
Thanks. When I went through the code moving the calls to Buffer.flip(), I missed a few code paths. I'm going through now double checking my logic. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org