-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define capsule protocol over WebSocket to enable use where HTTP/2 is not supported #90
Comments
Thanks @martenrichter! Also linking #80, where there was a little bit of discussion about both HTTP/1 and WebSockets. |
Also another comment. For example the node.js or the underlying lib implementation has hardcoded http2 settings, so that actually the settings in the http2 webtransport proposal are kind of a blocker: |
Chair: discussed in editor's meeting. We might provide guidance on this in the PR that resolves #80, but we're not going to take on this additional scope unless there's demonstrated interest in this new feature. |
That would fit, thanks @martenrichter. I think when this came up previously, we were much in the same place as we are now: this seems reasonably additive, to the point that if we had clear interest and use cases, it would be possible to write up a spec that would enable some of these uses. Until that happens, we can mention it editorially in the PR mentioned above. |
Chair: as discussed in #90 (comment) , this sounds like a good topic for a separate spec. We'll mention that it's possible in the PR that closes #80. If the proponents write up a draft that describes this, we'll happily discuss it in the WebTransport WG - though this might only happen after we're done with the h2 and h3 versions. Closing. |
Thanks, for the feedback. The interest in the feature will really depend, on how fast webtransport over http/2 (and webtransport in general) is implemented in major browsers, and interest in webtransport in general. |
That's a solid plan, thanks Marten! |
Ok, my implementation is ready: https://martenrichter.github.io/draft-ietf-webtransport-websocket/draft-richter-webtransport-websocket.html I hope I hit the tone and style correctly, especially as it is different from the publications in latex I usually write. I have also submitted a patch to node, to get full support of http settings, which is crucial for the http/2 implementation. |
@martenrichter, I'd encourage you to submit that draft, even though it might not be ready for discussion. Sometimes, publishing a draft is a good way to start some discussion. |
Thanks for the feedback, I just followed your suggestion: |
That is kind of a cross posting of the issue from the other webtransport working group (ekinnear suggested posting it here):
w3c/webtransport#518
Main idea is to add to the capsule protocol a specification for capsule over websocket, in order to support it in browser, that not yet support the http/2 protocol.
The benefits are as follows:
The protocol's way of working would be very similar to the actual http/2, so one could easily test ideas without waiting for the browser implementation.
My proposal would be as follows, the normal capsule protoco isl:
The idea would be to transport it as binary frame/payload of length
Length + 4
, and the payload will start with capsule type and continue with capsule value. Maybe an initial text frame indicates, that it is a capsule over websocket connection.The rest of the http/2 capsule protocol will remain unchanged. So besides a little bit extra overload, the mechanics of most of the protocol will remain unchanged.
The text was updated successfully, but these errors were encountered: