AutoBahn tests 9 working. All done :-)

This commit is contained in:
Veebs 2011-10-17 13:58:44 +11:00
parent beb56878e4
commit 10b88ceaa0

View File

@ -348,12 +348,12 @@ public class WebSocket08FrameDecoder extends ReplayingDecoder<WebSocket08FrameDe
private void checkUTF8String(Channel channel, byte[] bytes) throws CorruptedFrameException { private void checkUTF8String(Channel channel, byte[] bytes) throws CorruptedFrameException {
try { try {
// StringBuilder sb = new StringBuilder("UTF8 " + bytes.length +
StringBuilder sb = new StringBuilder("UTF8 " + bytes.length + " bytes: "); // " bytes: ");
for (byte b : bytes) { // for (byte b : bytes) {
sb.append(Integer.toHexString(b)).append(" "); // sb.append(Integer.toHexString(b)).append(" ");
} // }
logger.debug(sb.toString()); // logger.debug(sb.toString());
if (fragmentedFramesText == null) { if (fragmentedFramesText == null) {
fragmentedFramesText = new UTF8Output(bytes); fragmentedFramesText = new UTF8Output(bytes);