3.1.4.2 Closing an SSTP Connection

The higher-layer can close any established SSTP connection (1). The device MUST send a ConnectClose command, with a ReasonId value as supplied by the higher-layer.

The MessageCount field MUST be set to the number of processed inbound message sequences entries, as specified in section 3.1.4.2.1.

Upon sending the ConnectClose, connection (1) and session state for all sessions on the connection (1) MUST be removed, and the underlying transport MUST be terminated.