UnknownServer - Case 5.20 : Fail - 1003 ms @ 2020-09-26T10:06:47.174Z
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:
[('pong', u'pongme 1!')]
Case Closing Behavior
The connection was failed by the wrong endpoint (FAILED)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.1-0.10.9 Host: 127.0.0.1:9010 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: 2CwoS/6n7PLe/CwKk5HKqw== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: 1qjCla9+2JsR7bGfxfwP1asErSk=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | False | 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 | 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 |
129 | 1 | 129 |
Total | 2 | 140 |
Chop Size | Count | Octets |
15 | 6 | 90 |
240 | 1 | 240 |
Total | 7 | 330 |
Opcode | Count |
10 | 1 |
Total | 1 |
Opcode | Count |
0 | 4 |
1 | 1 |
9 | 2 |
Total | 7 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
312d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=26cdc72b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment1
003 TX OCTETS: 018926cdc72b40bfa64c4ba8a95f17
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=9bf66c78, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment2
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=7e962b6f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
pongme 1!
006 DELAY 1.000000 sec for TAG None
007 TX OCTETS: 00899bf66c78fd840d1ff693020ca9
008 TX OCTETS: 89897e962b6f0ef9450813f30b5e5f
009 RX OCTETS: 8a09706f6e676d65203121
010 RX FRAME : OPCODE=10, 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=02854f2f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment3
013 TX OCTETS: 008902854f2f64f72e486fe0215b31
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=3dbe0e2a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment4
015 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9b37302b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
pongme 2!
016 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9ee230b5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
fragment5
017 CLOSE CONNECTION AFTER 1.000000 sec
018 TX OCTETS: 00893dbe0e2a5bcc6f4d50db605e09
019 TX OCTETS: 89899b37302beb585e4cf6521019ba
020 TCP DROPPED BY PEER