跳到主要内容

8. IANA 考量 (IANA Considerations)

本文档在 [HTTP/3] 定义的注册表中进行了多项注册. 本文档创建的分配均被赋予 permanent 状态, 并列出 IETF 作为变更控制方, HTTP 工作组 ([email protected]) 作为联系人.

8.1 设置注册 (Settings Registration)

本文档指定了两个设置. 下表中的条目注册到 [HTTP/3] 建立的 "HTTP/3 Settings" 注册表中.

Setting NameCodeSpecificationDefault
QPACK_MAX_TABLE_CAPACITY0x01Section 50
QPACK_BLOCKED_STREAMS0x07Section 50

Table 1: HTTP/3 Settings 注册表的新增项

出于格式原因, 此处的设置名称通过移除 'SETTINGS_' 前缀进行了缩写.

8.2 流类型注册 (Stream Type Registration)

本文档指定了两个流类型. 下表中的条目注册到 [HTTP/3] 建立的 "HTTP/3 Stream Types" 注册表中.

Stream TypeCodeSpecificationSender
QPACK Encoder Stream0x02Section 4.2Both
QPACK Decoder Stream0x03Section 4.2Both

Table 2: HTTP/3 Stream Types 注册表的新增项

8.3 错误码注册 (Error Code Registration)

本文档指定了三个错误码. 下表中的条目注册到 [HTTP/3] 建立的 "HTTP/3 Error Codes" 注册表中.

NameCodeDescriptionSpecification
QPACK_DECOMPRESSION_FAILED0x0200field section 解码失败Section 6
QPACK_ENCODER_STREAM_ERROR0x0201encoder stream 上的错误Section 6
QPACK_DECODER_STREAM_ERROR0x0202decoder stream 上的错误Section 6

Table 3: HTTP/3 Error Codes 注册表的新增项