3.2.4.2 Sending Application Data

The LongLived connection MUST be in the 'Established' state to send application data.

If the GetSessionReady state variable is set to FALSE, the application data MUST be buffered in the order that it was sent. If GetSessionReady is TRUE, the server MUST send the data.

The server sends the SSTP stream data over the GET session. The SSTP stream data is contained within the LongLived-Entity-Body fragment (see section 2.2.2.2.3).

The server MUST keep track of the number of octets sent, as defined by the GetContentLength state variable, and ensure that the content length is not exceeded. It is a protocol error if GetContentLength exceeds the value specified in ConnectionContentLength. If sending the entity body fragment would cause the GetContentLength to exceed the ConnectionContentLength, the server MUST close the LongLived connection immediately and let the client establish a new LongLived virtual connection with the target server<17>.