WebSocket++ snapshot - Test Case 2.5

Pass (2011-09-22T21:49:17Z - 15 ms)

Case

Description

Send ping with binary payload of 126 octets.

Expectation

Connection is failed immediately (1002/Protocol Error), since control frames are only allowed to have payload up to and including 125 octets..

Result

Actual events match at least one expected.

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
1291129
Total2133

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1341134
2121212
Total3354

Frames Received by Opcode

OpcodeCount
81
Total1

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2

Close Stats

KeyValue
isServer0
closedByMe0
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1002
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
               726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
               742d4b65793a2050314178436b4a6474344c794f6d30466b77474f33413d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a204d7a56
               49426c4a514572376c574c53525937466f6f475077787a733d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=73725f37, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               þþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþ
               þþþþþþþþþþþþþþþþþþþþþþþþþþ
003 TX OCTETS: 89fe007e73725f378d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8c
               a1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c9
               8d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8ca1c98d8c
004 KILL AFTER 1.000000 sec
005 RX OCTETS: 880203ea
006 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
007 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=567be507, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
008 TX OCTETS: 8882567be5075593
009 TCP CLOSED BY PEER