3.2.5.2 Closing a DVC (DYNVC_CLOSE)

A channel can be closed by either a DVC client manager or a DVC server manager. A DYNVC_CLOSE (section 2.2.4) PDU is used for both a close request and a close response.

When a DVC client manager receives a DYNVC_CLOSE (section 2.2.4) PDU, the client MAY respond with a DYNVC_CLOSE (section 2.2.4) PDU specifying the ChannelId.

When a client initiates a channel-close, it sends an unsolicited DYNVC_CLOSE (section 2.2.4) PDU specifying the ChannelId to the server. The server does not respond to the DYNVC_CLOSE (section 2.2.4) PDU.

Upon closing a channel, the client SHOULD remove the ChannelId from the list of active ChannelIds.

If the client receives a DYNVC_CLOSE (section 2.2.4) PDU for a channel that is not in the list of active ChannelIds, the client MUST ignore the PDU and SHOULD NOT respond with a DYNVC_CLOSE (section 2.2.4) PDU.