-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Extended connect support for Webtransport #48962
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.stale
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.stale
Type
Fields
Give feedbackNo fields configured for issues without a type.
What is the problem this feature will solve?
I am currently considering extending my Webtransport node plugin (https://github.com/fails-components/webtransport) with support for webtransport over http/2.
I have two options, wait for the support in libquiche, which currently provides the http/3 implementation, or use node.js native http/2.
Thankfully to
#22959
node.js already supports the extended connect protocol and I thought I have already everything for an implementation.
However, https://datatracker.ietf.org/doc/draft-ietf-webtrans-http2/ also requires in clause 3.1 a SETTINGS_WEBTRANSPORT_MAX_SESSIONS setting on the client and server side.
As far as I understand, I can not do anything on the javascript side and this one needs to be implemented on node.js itself or even nghttp2, if I understand the code correctly.
Can you consider adding this to node? As it is a tiny feature.... (Of course, if required I may also provide a PR the extended connect PR did not look to hard, but I do not have much overview over node.js internals).
Or do I miss sth and I can in fact do it in js.
What is the feature you are proposing to solve the problem?
Add SETTINGS_WEBTRANSPORT_MAX_SESSIONS in the same way as extended connect is handled.
What alternatives have you considered?
Use libquiche when it is ready also for this?