2.2.3.5 Upgrade Request Record

The Upgrade Request Record is a Property Record that requests a protocol upgrade.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RecordType

UpgradeProtocolLength (variable)

...

UpgradeProtocol (variable)

...

RecordType (1 byte): This octet MUST be set to 0x09 to indicate that this is an Upgrade Request Record.

UpgradeProtocolLength (variable): This value MUST be set to the size, in octets, of the upgrade protocol name, encoded based on the scheme described in section 2.2.2. The length field MUST NOT be set to 0.

UpgradeProtocol (variable): The name of the protocol to upgrade to, encoded by using UTF-8. The following table identifies some known upgrade protocol names. An implementation SHOULD implement these upgrades and MAY define additional upgrade protocol definitions.<6>

Protocol

Meaning

SSL/TLS

"application/ssl-tls"

As defined in [RFC5246].

Negotiate

"application/negotiate"

As defined in [RFC4178].