8. IANA Considerations (IANA考虑)
本文档在 [HTTP/3] 定义的注册表中进行了多次注册. 本文档创建的所有分配都被指定为永久 (Permanent) 状态, 并列出 IETF 为变更控制者 (Change Controller), HTTP 工作组 ([email protected]) 为联系人.
8.1 Settings Registration (设置注册)
本文档指定了两个设置. 下表中的条目在 [HTTP/3] 中建立的 "HTTP/3 Settings" 注册表中注册.
| Setting Name | Code | Specification | Default |
|---|---|---|---|
| QPACK_MAX_TABLE_CAPACITY | 0x01 | Section 5 | 0 |
| QPACK_BLOCKED_STREAMS | 0x07 | Section 5 | 0 |
表 1: HTTP/3 设置注册表的添加
出于格式原因, 此处的设置名称通过删除 'SETTINGS_' 前缀进行了缩写.
8.2 Stream Type Registration (流类型注册)
本文档指定了两种流类型. 下表中的条目在 [HTTP/3] 中建立的 "HTTP/3 Stream Types" 注册表中注册.
| Stream Type | Code | Specification | Sender |
|---|---|---|---|
| QPACK Encoder Stream | 0x02 | Section 4.2 | Both |
| QPACK Decoder Stream | 0x03 | Section 4.2 | Both |
表 2: HTTP/3 流类型注册表的添加
8.3 Error Code Registration (错误码注册)
本文档指定了三个错误码. 下表中的条目在 [HTTP/3] 中建立的 "HTTP/3 Error Codes" 注册表中注册.
| Name | Code | Description | Specification |
|---|---|---|---|
| QPACK_DECOMPRESSION_FAILED | 0x0200 | 字段区段解码失败 | Section 6 |
| QPACK_ENCODER_STREAM_ERROR | 0x0201 | 编码器流错误 | Section 6 |
| QPACK_DECODER_STREAM_ERROR | 0x0202 | 解码器流错误 | Section 6 |
表 3: HTTP/3 错误码注册表的添加