<pclass="case_text_block case_desc"><b>Case Description</b><br/><br/>Same as Case 6.4.1, but in 2nd frame, we send only up to and including the octet making the complete payload invalid.
<br><br>MESSAGE PARTS:<br>
PART1 = cebae1bdb9cf83cebcceb5f4<br>
PART2 = 90<br>
PART3 = 8080656469746564<br>
</p>
<pclass="case_text_block case_expect"><b>Case Expectation</b><br/><br/>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 complete message payload is not valid UTF-8.</p>
<pclass="case_text_block case_outcome">
<b>Case Outcome</b><br/><br/>Actual events match at least one expected.<br/><br/>
<trclass="stats_row"><td>isServer</td><tdclass="left">True</td><tdclass="left">True, iff I (the fuzzer) am a server, and the peer is a client.</td></tr>
<trclass="stats_row"><td>closedByMe</td><tdclass="left">False</td><tdclass="left">True, iff I have initiated closing handshake (that is, did send close first).</td></tr>
<trclass="stats_row"><td>failedByMe</td><tdclass="left">False</td><tdclass="left">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.</td></tr>
<trclass="stats_row"><td>droppedByMe</td><tdclass="left">False</td><tdclass="left">True, iff I dropped the TCP connection.</td></tr>
<trclass="stats_row"><td>wasClean</td><tdclass="left">False</td><tdclass="left">True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).</td></tr>
<trclass="stats_row"><td>wasNotCleanReason</td><tdclass="left">peer dropped the TCP connection without previous WebSocket closing handshake</td><tdclass="left">When wasClean == False, the reason what happened.</td></tr>
<trclass="stats_row"><td>wasServerConnectionDropTimeout</td><tdclass="left">False</td><tdclass="left">When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.</td></tr>
<trclass="stats_row"><td>wasOpenHandshakeTimeout</td><tdclass="left">False</td><tdclass="left">When performing the opening handshake, but the peer did not finish in time, this gets True.</td></tr>
<trclass="stats_row"><td>wasCloseHandshakeTimeout</td><tdclass="left">False</td><tdclass="left">When we initiated a closing handshake, but the peer did not respond in time, this gets True.</td></tr>
<trclass="stats_row"><td>localCloseCode</td><tdclass="left">None</td><tdclass="left">The close code I sent in close frame (if any).</td></tr>
<trclass="stats_row"><td>localCloseReason</td><tdclass="left">None</td><tdclass="left">The close reason I sent in close frame (if any).</td></tr>
<trclass="stats_row"><td>remoteCloseCode</td><tdclass="left">None</td><tdclass="left">The close code the peer sent me in close frame (if any).</td></tr>
<trclass="stats_row"><td>remoteCloseReason</td><tdclass="left">None</td><tdclass="left">The close reason the peer sent me in close frame (if any).</td></tr>