WebSocket++ snapshot - Test Case 6.14.10

Pass (2011-09-22T21:49:34Z - 31 ms)

Case

Description

Send a text message with payload which is not valid UTF-8 in one fragment.

MESSAGE:
ý¿¿¿¿
fdbfbfbfbf

Expectation

The connection is failed immediately, since the payload is not valid UTF-8.

Result

Actual events match at least one expected.

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
21121
1291129
Total2150

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
11111
2121212
Total3231

Frames Received by Opcode

OpcodeCount
81
Total1

Frames Transmitted by Opcode

OpcodeCount
11
81
Total2

Close Stats

KeyValue
isServer0
closedByMe0
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1007
remoteCloseReasonInvalid UTF8 Data

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
               726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
               742d4b65793a2050324b6754304857306259342f6f4a4a4365535035773d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20615051
               63415044554b7733334c5a59744b625a33646166743963453d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, MASK=19ef4a4a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ý¿¿¿¿
003 TX OCTETS: 818519ef4a4ae450f5f5a6
004 KILL AFTER 0.500000 sec
005 RX OCTETS: 881303ef496e76616c696420555446382044617461
006 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
               ïInvalid UTF8 Data
007 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=5c94bc69, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
008 TX OCTETS: 88825c94bc695f7c
009 TCP CLOSED BY PEER