websock secure server - Case 6.2.3 : Pass - 2 ms @ 2025-11-26T12:36:19.232Z
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', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]}
Observed:
[('message', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]
Case Closing Behavior
The spec requires the connection to be failed cleanly here (UNCLEAN)
GET /wss HTTP/1.1 User-Agent: AutobahnTestSuite/25.10.1-0.10.9 Host: 127.0.0.1:8889 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: a8hxSHYcNxbBYbNDp3MbMw== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Date: Wed, 26 Nov 2025 12:36:19 GMT Connection: Upgrade Upgrade: websocket Sec-Websocket-Accept: IiAu5GjI6CKmIs48Ks3Hb3njBIk=
| 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 | False | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
| wasNotCleanReason | peer dropped the TCP connection without previous WebSocket closing handshake | 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 | None | 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 |
| 31 | 1 | 31 |
| 166 | 1 | 166 |
| Total | 2 | 197 |
| Chop Size | Count | Octets |
| 6 | 1 | 6 |
| 7 | 29 | 203 |
| 8 | 1 | 8 |
| 245 | 1 | 245 |
| Total | 32 | 462 |
| Opcode | Count |
| 1 | 1 |
| Total | 1 |
| Opcode | Count |
| 0 | 29 |
| 1 | 1 |
| 8 | 1 |
| Total | 31 |
000 TX OCTETS: 474554202f77737320485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f32
352e31302e312d302e31302e390d ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a446174653a205765642c203236204e6f
7620323032352031323a33363a31 ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=80be8d95, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
H
003 TX OCTETS: 018180be8d95c8
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b66ccf87, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
005 TX OCTETS: 0081b66ccf87d3
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=81d34a07, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
007 TX OCTETS: 008181d34a07ed
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=8b7ce671, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
009 TX OCTETS: 00818b7ce671e7
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=eb25d975, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
o
011 TX OCTETS: 0081eb25d97584
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5ff3d38f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
013 TX OCTETS: 00815ff3d38f72
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ae6a496e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc2
015 TX OCTETS: 0081ae6a496e6c
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=58b44760, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb5
017 TX OCTETS: 008158b44760ed
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b6f79481, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
@
019 TX OCTETS: 0081b6f79481f6
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f3beafed, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
021 TX OCTETS: 0081f3beafed30
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=98ad333c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x9f
023 TX OCTETS: 008198ad333c07
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e258e8c2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
025 TX OCTETS: 0081e258e8c221
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=75a3ae58, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb6
027 TX OCTETS: 008175a3ae58c3
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=21c397e0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
029 TX OCTETS: 008121c397e0e2
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=0dd0503e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa4
031 TX OCTETS: 00810dd0503ea9
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e42ed232, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
033 TX OCTETS: 0081e42ed23227
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5908b495, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbc
035 TX OCTETS: 00815908b495e5
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c1f99602, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
037 TX OCTETS: 0081c1f9960202
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=2a3c86bf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa0
039 TX OCTETS: 00812a3c86bf8a
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f6ed1968, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
041 TX OCTETS: 0081f6ed196835
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9ba8b35a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa1
043 TX OCTETS: 00819ba8b35a3a
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=678684d5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
045 TX OCTETS: 0081678684d54a
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=7d48fd81, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
U
047 TX OCTETS: 00817d48fd8128
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5e28f0c0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
T
049 TX OCTETS: 00815e28f0c00a
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=23896d2b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
F
051 TX OCTETS: 008123896d2b65
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=77eb498b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
053 TX OCTETS: 008177eb498b5a
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9f8cb613, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
8
055 TX OCTETS: 00819f8cb613a7
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=11a254e7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
057 TX OCTETS: 008111a254e730
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=68b08f75, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
059 TX OCTETS: 008168b08f7549
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=c954d1de, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 8080c954d1de
062 CLOSE CONNECTION AFTER 1.000000 sec
063 RX OCTETS: 811d48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
064 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=29, MASKED=False, MASK=None
Hello-µ@ßöäüàá-UTF-8!!
065 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=20e32de7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
066 TX OCTETS: 888220e32de7230b
067 TCP DROPPED BY PEER