3.1.6.5 TCP Connection Terminated by Network

The server MUST search the OperationMessages table for a row whose PrimaryConnection value matches the terminated connection. If one is found, the server MUST set the PrimaryConnection value to NULL and the ResponseBegun value to false, and start the connection's ResponseRetentionTimer.

The server MUST search the OperationMessages table for a row whose SecondaryConnection value matches the terminated connection. If one is found, the server MUST set the SecondaryConnection value to NULL.

If the client TCP connection is terminated without sending a Disconnect message, the server MUST treat the shell as an idle shell, not a disconnected shell.