Pass (2011-09-22T21:49:08Z - 1462 ms)
Description
Send invalid UTF-8 text message in 3 fragments plus more. First is valid, then wait, then 2nd which contains the octet making the sequence invalid, then wait, then 3rd with rest. Then we send 64k frames forever.
MESSAGE:
Îºá½¹ÏƒÎ¼Îµí €edited
cebae1bdb9cf83cebcceb5eda080656469746564
Expectation
The first frame is accepted, we expect to timeout on the first wait. The 2nd frame should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then, since the payload is not valid UTF-8.
Actual events match at least one expected.
Expected = {'NON-STRICT': [('timeout', 'A'), ('timeout', 'B')], 'OK': [('timeout', 'A')]}
Actual = [('timeout', 'A'), ('timeout', 'B')]
OK: Connection was properly closed
Chop Size | Count | Octets |
129 | 1 | 129 |
Total | 1 | 129 |
Chop Size | Count | Octets |
7 | 1 | 7 |
13 | 1 | 13 |
18 | 1 | 18 |
195 | 1 | 195 |
Total | 4 | 233 |
Opcode | Count |
Total | 0 |
Opcode | Count |
0 | 2 |
1 | 1 |
Total | 3 |
Key | Value |
isServer | 0 |
closedByMe | 0 |
failedByMe | 0 |
droppedByMe | 0 |
wasClean | 0 |
localCloseCode | None |
remoteCloseCode | None |
remoteCloseReason | None |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e320d0a486f73743a206c6f63616c686f73740d0a557067726164653a20776562736f636b65740d0a
436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a2065535370725549517074
4237483967776e77373376513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a206e7a42
325337427a394a67476379505154474c686d6973726343733d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=968a9167, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
κόσμεí
003 TX OCTETS: 018c968a9167583070da2f4512a92a44248a
004 DELAY 1.000000 sec
005 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ae572291, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
006 TX OCTETS: 0081ae5722910e
007 DELAY 1.000000 sec
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9b81749b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
€edited
009 TX OCTETS: 00879b81749b1be410f2efe410
010 TCP CLOSED BY PEER