lluv-websocket - Case 6.2.4 : Pass - 0 ms @ 2016-03-22T16:32:40.796Z
Case Description
Send a valid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.
MESSAGE:
κόσμε
cebae1bdb9cf83cebcceb5
Case Expectation
The message is echo'ed back to us.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('message', u'\u03ba\u1f79\u03c3\u03bc\u03b5', False)]}
Observed:
[('message', u'\u03ba\u1f79\u03c3\u03bc\u03b5', False)]
Case Closing Behavior
Connection was properly closed (OK)
GET /runCase?case=71&agent=lluv-websocket HTTP/1.1 Host: 127.0.0.1:9001 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: D2le0gFkwskFC6oXAaijUQ== Sec-WebSocket-Version: 13 Sec-WebSocket-Protocol: echo Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.7.1-0.10.0 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: vYSMbCiqTY4Fz+XeqQvHRmu6DbY=
Key | Value | Description |
isServer | True | 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 | True | 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. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish 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 |
8 | 1 | 8 |
77 | 1 | 77 |
289 | 1 | 289 |
Total | 3 | 374 |
Chop Size | Count | Octets |
2 | 1 | 2 |
3 | 11 | 33 |
4 | 1 | 4 |
169 | 1 | 169 |
Total | 14 | 208 |
Opcode | Count |
0 | 10 |
1 | 1 |
8 | 1 |
Total | 12 |
Opcode | Count |
0 | 11 |
1 | 1 |
8 | 1 |
Total | 13 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3731266167656e743d6c6c75762d776562736f636b657420485454502f312e31
0d0a486f73743a203132372e302e ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e372e ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
003 TX OCTETS: 0101ce
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xba
005 TX OCTETS: 0001ba
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xe1
007 TX OCTETS: 0001e1
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbd
009 TX OCTETS: 0001bd
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb9
011 TX OCTETS: 0001b9
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xcf
013 TX OCTETS: 0001cf
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x83
015 TX OCTETS: 000183
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
017 TX OCTETS: 0001ce
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbc
019 TX OCTETS: 0001bc
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
021 TX OCTETS: 0001ce
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb5
023 TX OCTETS: 0001b5
024 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
025 TX OCTETS: 8000
026 CLOSE CONNECTION AFTER 1.000000 sec
027 RX OCTETS: 018100fa295dce0081adf40bd61700814acfff98ab00819ad201cd270081441df37efd008195fcd0a05a00818d6846db0e00
81948465295a0081c6567eca7a00 ...
028 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3030666132393564
0xce
029 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=6164663430626436
0xba
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3461636666663938
0xe1
031 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3961643230316364
0xbd
032 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3434316466333765
0xb9
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3935666364306130
0xcf
034 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3864363834366462
0x83
035 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3934383436353239
0xce
036 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=6336353637656361
0xbc
037 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3339393965653935
0xce
038 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=1, MASKED=True, MASK=3264643265383263
0xb5
039 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
040 TX OCTETS: 880203e8
041 RX OCTETS: 88827e85f42a7d6d
042 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=3765383566343261
0x03e8
043 TCP DROPPED BY ME