quic: http/3 getting server settings and customSettings
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.4k
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 272
描述
For applications such as webtransport, http settings are important for negotiating capabilities.
The following problems may be present currently:
1.) I do not see a clear API path for a client that connects to a server to get the settings sent by the server.
Looking at the C++ code, I think the available settings could be on the SessionTicket,
However, if I immediately set a callback to onsessionticket after the Promise for QuicSession is fulfilled, I do not see a call.
@jasnell : Is there another API path to get this information? Or is this a bug, if I do not see the callback? Then I will try to make a test.
2.) nghttp3 does not seem to support settings beyond the settings hardcoded in the library. I will query upstream about implementing a mechanism similar to the customSettings mechanism currently used for http2.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 SessionTicket 和 onsessionticket 周围的 C++ QUIC 实现,然后将 nghttp3 的硬编码设置与 HTTP/2 的 customSettings 机制进行比较。确认服务器设置的预期 API 路径,并为回调传递和自定义设置支持定义测试;当这些行为有明确的实现或上游解决方案时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, javascript, nodejs
- 领域
- api, networking
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 40/100