8. IANA 考量 (IANA Considerations)
本文档在 [HTTP/3] 定义的注册表中进行了多项注册. 本文档创建的分配均被赋予 permanent 状态, 并列出 IETF 作为变更控制方, 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 |
Table 1: HTTP/3 Settings 注册表的新增项
出于格式原因, 此处的设置名称通过移除 '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 |
Table 2: HTTP/3 Stream Types 注册表的新增项
8.3 错误码注册 (Error Code Registration)
本文档指定了三个错误码. 下表中的条目注册到 [HTTP/3] 建立的 "HTTP/3 Error Codes" 注册表中.
| Name | Code | Description | Specification |
|---|---|---|---|
| QPACK_DECOMPRESSION_FAILED | 0x0200 | field section 解码失败 | Section 6 |
| QPACK_ENCODER_STREAM_ERROR | 0x0201 | encoder stream 上的错误 | Section 6 |
| QPACK_DECODER_STREAM_ERROR | 0x0202 | decoder stream 上的错误 | Section 6 |
Table 3: HTTP/3 Error Codes 注册表的新增项