3.2.5.5 Receiving an $E Packet

The server MUST validate that the packet adheres to the syntax for $E (End-of-Stream Notification) (section 2.2.3.4) packets.

The server MUST report to the higher layer that no more ASF data packets will be received for the current playlist entry.

If the value of the Reason field in the $E packet is not 0x00000001, the server MAY close the TCP connection to the client without sending a PushStart response and MUST delete the session state. If the value of the AutoDestroy flag is TRUE, deleting the session state includes removing the "publishing point", that is, the resource identified by the client in the PushStart request.

If the value of the Reason field in the $E packet is 0x00000001, and if there are no bytes left to receive in the message body of the PushStart request, the server MUST send a PushStart response. How to send a PushStart response is specified in section 3.2.5.2.1.

If the value of the Reason field in the $E packet is 0x00000001, and if there are bytes left to receive in the message body of the PushStart request, then the server MUST wait for a higher-layer triggered event or for a $C, $E, or $F packet.

How to process a $C packet is specified in section 3.2.5.6. How to process an $F packet is specified in section 3.2.5.7.<14>