wslay - Case 6.2.3 : Pass - 1 ms @ 2012-01-09T14:45:56Z
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:
Hello-µ@ßöäüà á-UTF-8!!
48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
Case Expectation
The message is echo'ed back to us.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('message', 'Hello-\xc2\xb5@\xc3\x9f\xc3\xb6\xc3\xa4\xc3\xbc\xc3\xa0\xc3\xa1-UTF-8!!', False)]}
Observed:
[('message', 'Hello-\xc2\xb5@\xc3\x9f\xc3\xb6\xc3\xa4\xc3\xbc\xc3\xa0\xc3\xa1-UTF-8!!', 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: 51i/9PP8gPMPKJ1BL/u+rg== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: HKEraovLyaVz6IWvsS0vkVlGUU4=
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 |
4 | 1 | 4 |
31 | 1 | 31 |
129 | 1 | 129 |
Total | 3 | 164 |
Chop Size | Count | Octets |
6 | 1 | 6 |
7 | 29 | 203 |
8 | 1 | 8 |
201 | 1 | 201 |
Total | 32 | 418 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
Opcode | Count |
0 | 29 |
1 | 1 |
8 | 1 |
Total | 31 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393039300d0a557067726164653a20776562736f
636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a203531692f
3950503867504d504b4a31424c2f752b72673d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20484b45
72616f764c7961567a36495776735330766b566c475555343d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=31aac543, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
H
003 TX OCTETS: 018131aac54379
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c84c2160, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
005 TX OCTETS: 0081c84c2160ad
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=438b8a02, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
007 TX OCTETS: 0081438b8a022f
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=77507a7e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
009 TX OCTETS: 008177507a7e1b
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=26e1264b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
o
011 TX OCTETS: 008126e1264b49
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f5b0d2c6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
013 TX OCTETS: 0081f5b0d2c6d8
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=05b7b368, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Â
015 TX OCTETS: 008105b7b368c7
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=11216863, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
µ
017 TX OCTETS: 008111216863a4
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=11d84b74, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
@
019 TX OCTETS: 008111d84b7451
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d1ac0a48, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
021 TX OCTETS: 0081d1ac0a4812
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0acefcf5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ÿ
023 TX OCTETS: 00810acefcf595
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c5ce7ca2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
025 TX OCTETS: 0081c5ce7ca206
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a7c2f1d5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¶
027 TX OCTETS: 0081a7c2f1d511
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4f667d6d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
029 TX OCTETS: 00814f667d6d8c
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1688029e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¤
031 TX OCTETS: 00811688029eb2
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4ff74cb3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
033 TX OCTETS: 00814ff74cb38c
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=bfb65bd4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¼
035 TX OCTETS: 0081bfb65bd403
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a27a280a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
037 TX OCTETS: 0081a27a280a61
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=60948e5f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
039 TX OCTETS: 008160948e5fc0
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=bbae36c9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ã
041 TX OCTETS: 0081bbae36c978
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0a7e8623, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¡
043 TX OCTETS: 00810a7e8623ab
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=00491e85, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
045 TX OCTETS: 008100491e852d
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=af02416e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
U
047 TX OCTETS: 0081af02416efa
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2b4ddc65, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
T
049 TX OCTETS: 00812b4ddc657f
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ea8031c2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
F
051 TX OCTETS: 0081ea8031c2ac
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f4ac396f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
053 TX OCTETS: 0081f4ac396fd9
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d054fbad, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
8
055 TX OCTETS: 0081d054fbade8
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=7c5e1a78, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
057 TX OCTETS: 00817c5e1a785d
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=8b683107, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
059 TX OCTETS: 00818b683107aa
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=cf15dc51, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 8080cf15dc51
062 CLOSE CONNECTION AFTER 1.000000 sec
063 RX OCTETS: 811d48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
064 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
Hello-µ@ßöäüà á-UTF-8!!
065 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=21b56716, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
066 TX OCTETS: 888221b56716225d
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
069 TCP DROPPED BY PEER