wslay - Case 6.1.2 : Pass - 1 ms @ 2012-01-09T14:45:56Z
Case Description
Send fragmented text message, 3 fragments each of length 0.
Case Expectation
A message is echo'ed back to us (with empty payload).
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('message', '', False)]}
Observed:
[('message', '', False)]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnWebSocketsTestSuite/0.4.10 Host: localhost:9090 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: 3cs0GJqbu6mq/rt/h9fDMg== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: E0FbrPNogZKWZl9i3pn4LDIzmeo=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1000 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
2 | 1 | 2 |
4 | 1 | 4 |
129 | 1 | 129 |
Total | 3 | 135 |
Chop Size | Count | Octets |
6 | 3 | 18 |
8 | 1 | 8 |
201 | 1 | 201 |
Total | 5 | 227 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
Opcode | Count |
0 | 2 |
1 | 1 |
8 | 1 |
Total | 4 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393039300d0a557067726164653a20776562736f
636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a2033637330
474a716275366d712f72742f683966444d673d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20453046
6272504e6f675a4b575a6c396933706e344c44497a6d656f3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=57ed7e38, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
003 TX OCTETS: 018057ed7e38
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a4f5f274, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
005 TX OCTETS: 0080a4f5f274
006 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=1809ebb4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
007 TX OCTETS: 80801809ebb4
008 CLOSE CONNECTION AFTER 1.000000 sec
009 RX OCTETS: 8100
010 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
011 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=d0843098, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
012 TX OCTETS: 8882d0843098d36c
013 RX OCTETS: 880203e8
014 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
015 TCP DROPPED BY PEER