3.1.4.7 Upgrade Request Record

  • If the record type the participant read from the protocol stream is not Upgrade Request Record, it MUST be handled as described in section 3.1.4.2.

  • The participant MUST read the Upgrade Protocol, as detailed in section 3.1.4.1. The participant SHOULD use a MaxUpgradeProtocolSize.<17> If the upgrade name is too long, a Fault Record MAY<18> be sent, and the session MUST be closed.

  • If the upgrade is not supported, a Fault Record MAY<19> be sent, and the session MUST be closed.

  • If the upgrade is supported, the participant MUST send an Upgrade Response Record, as described in section 2.2.3.6. The participant MUST invoke the upgrade handler identified by the upgrade protocol name in the Upgrade Request Record.