AVR / W5500 / Ethernet - Case 7.1.6 : Informational - 6 ms @ 2020-06-03T17:01:53.411Z
Case Description
Send 256K message followed by close then a ping
Case Expectation
Case outcome depends on implementation defined close behavior. Message and close frame are sent back to back. If the close frame is processed before the text message write is complete (as can happen in asynchronous processing models) the close frame is processed first and the text message may not be received or may only be partially recieved.
Case Outcome
Close was processed before text message could be returned.
Expected:
{'OK': [('message', u'Hello World!', False)], 'NON-STRICT': []}
Observed:
[]
Case Closing Behavior
The close code should have been 1000 or empty (INFORMATIONAL)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.0-0.10.9 Host: 192.168.46.181:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: 3L8V+rE2Qy/vCYCWRK4g5Q== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: PPzr9c89gvZdYvbSLa8cgVTj/o4=
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 WebSocket 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. |
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 | 1009 | 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 |
1 | 32 | 32 |
2 | 12 | 24 |
3 | 4 | 12 |
4 | 1 | 4 |
11 | 1 | 11 |
50 | 1 | 50 |
Total | 51 | 133 |
Chop Size | Count | Octets |
6 | 1 | 6 |
8 | 1 | 8 |
18 | 1 | 18 |
245 | 1 | 245 |
262158 | 1 | 262158 |
Total | 5 | 262435 |
Opcode | Count |
8 | 1 |
Total | 1 |
Opcode | Count |
1 | 2 |
8 | 1 |
9 | 1 |
Total | 4 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 4854
002 RX OCTETS: 54
003 RX OCTETS: 50
004 RX OCTETS: 2f
005 RX OCTETS: 31
006 RX OCTETS: 2e
007 RX OCTETS: 31
008 RX OCTETS: 20
009 RX OCTETS: 3130
010 RX OCTETS: 31
011 RX OCTETS: 20
012 RX OCTETS: 53
013 RX OCTETS: 77
014 RX OCTETS: 69746368
015 RX OCTETS: 69
016 RX OCTETS: 6e
017 RX OCTETS: 67
018 RX OCTETS: 20
019 RX OCTETS: 50
020 RX OCTETS: 72
021 RX OCTETS: 6f74
022 RX OCTETS: 6f
023 RX OCTETS: 636f
024 RX OCTETS: 6c730d0a55706772616465
025 RX OCTETS: 3a2077
026 RX OCTETS: 6562
027 RX OCTETS: 736f
028 RX OCTETS: 636b65
029 RX OCTETS: 74
030 RX OCTETS: 0d0a
031 RX OCTETS: 43
032 RX OCTETS: 6f
033 RX OCTETS: 6e
034 RX OCTETS: 6e65
035 RX OCTETS: 6374
036 RX OCTETS: 69
037 RX OCTETS: 6f
038 RX OCTETS: 6e
039 RX OCTETS: 3a
040 RX OCTETS: 20
041 RX OCTETS: 55
042 RX OCTETS: 70
043 RX OCTETS: 67
044 RX OCTETS: 726164
045 RX OCTETS: 65
046 RX OCTETS: 0d0a
047 RX OCTETS: 5365632d576562536f636b65742d4163636570743a2050507a723963383967765a64597662534c6138636756546a2f6f343d
048 RX OCTETS: 0d0a
049 RX OCTETS: 0d0a
050 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=10, MASK=b85f2497, PAYLOAD-REPEAT-LEN=262144, CHOPSIZE=None, SYNC=False
BAsd7&jh23
051 TX OCTETS: 81ff0000000000040000b85f2497fa1e57f38f794eff8a6c66d6cb3b13b1d23716a4fa1e57f38f794eff8a6c66d6cb3b13b1
d23716a4fa1e57f38f794eff8a6c ...
052 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=59512fb7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Hello World!
053 TX OCTETS: 818c59512fb7113443db367178d82b3d4b96
054 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=5d3a7898, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
055 TX OCTETS: 88825d3a78985ed2
056 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=a39ce953, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
057 TX OCTETS: 8980a39ce953
058 FAIL CONNECTION AFTER 1.000000 sec
059 RX OCTETS: 88
060 RX OCTETS: 0203f1
061 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03f1
062 TCP DROPPED BY PEER