UnknownServer - Case 5.20 : Fail - 3006 ms @ 2021-02-12T11:15:12.658Z
Case Description
Same as Case 5.19, but send all frames with SYNC = True.
Note, this does not change the octets sent in any way, only how the stream
is chopped up on the wire.
Case Expectation
Same as Case 5.19. Implementations must be agnostic to how
octet stream is chopped up on wire (must be TCP clean).
Case Outcome
Actual events differ from any expected.
Expected:
{'OK': [('pong', u'pongme 1!'), ('pong', u'pongme 2!'), ('message', u'fragment1fragment2fragment3fragment4fragment5', False)]}
Observed:
[('message', u'pongme 1!', False), ('message', u'pongme 2!', False), ('message', u'fragment1fragment2fragment3fragment4fragment5', False)]
Case Closing Behavior
The spec requires the connection to be failed cleanly here (UNCLEAN)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.0-0.10.9 Host: 127.0.0.1:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: HVta7WBZXJhSQ9ZLG9WcNQ== Sec-WebSocket-Version: 13
HTTP/1.1 101 WebSocket Protocol Handshake Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: bw+CwALjC/Z+AEIVQVGM2ALxnpQ=
| 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 | True | 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 did not respond (in time) in 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 | True | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
| localCloseCode | None | 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 |
| 11 | 1 | 11 |
| 58 | 1 | 58 |
| 138 | 1 | 138 |
| Total | 3 | 207 |
| Chop Size | Count | Octets |
| 6 | 1 | 6 |
| 15 | 7 | 105 |
| 240 | 1 | 240 |
| Total | 9 | 351 |
| Opcode | Count |
| 1 | 3 |
| Total | 3 |
| Opcode | Count |
| 0 | 4 |
| 1 | 1 |
| 8 | 1 |
| 9 | 2 |
| Total | 8 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120576562536f636b65742050726f746f636f6c2048616e647368616b650d0a55706772616465
3a20576562536f636b65740d0a43 ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=c1dedf01, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment1
003 TX OCTETS: 0189c1dedf01a7acbe66acbbb175f0
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=a5a9fe62, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment2
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=8d267240, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
pongme 1!
006 DELAY 1.000000 sec for TAG None
007 TX OCTETS: 0089a5a9fe62c3db9f05c8cc901697
008 TX OCTETS: 89898d267240fd491c27e0435271ac
009 RX OCTETS: 8109706f6e676d65203121
010 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
pongme 1!
011 DELAY TIMEOUT on TAG None
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=5961260c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment3
013 TX OCTETS: 00895961260c3f13476b340448786a
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=ae80389c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment4
015 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=f11fd793, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
pongme 2!
016 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=ebb38518, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment5
017 CLOSE CONNECTION AFTER 1.000000 sec
018 TX OCTETS: 0089ae80389cc8f259fbc3e556e89a
019 TX OCTETS: 8989f11fd7938170b9f49c7af7a1d0
020 TX OCTETS: 8089ebb385188dc1e47f86d6eb6cde
021 RX OCTETS: 8109706f6e676d65203221812d667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e743466
7261676d656e7435
022 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
pongme 2!
023 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=45, MASKED=False, MASK=None
fragment1fragment2fragment3fragment4fragment5
024 CLOSING CONNECTION
025 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=7d43312b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
026 TX OCTETS: 88807d43312b
027 TCP DROPPED BY ME