Skip to content
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

Support "data_stream" extension for HTTP/2. #592

Open
tomchristie opened this issue Oct 10, 2022 · 1 comment
Open

Support "data_stream" extension for HTTP/2. #592

tomchristie opened this issue Oct 10, 2022 · 1 comment
Labels
enhancement New feature or request http/2

Comments

@tomchristie
Copy link
Member

tomchristie commented Oct 10, 2022

We should support a new data_stream extension for HTTP/2.

Rather than .read() and .write() mapping directly onto the TCP stream they should instead wrap onto DataFrames over a single stream ID.

This would allow us to support HTTP/2's "extended CONNECT" and WebSockets-over-HTTP/2.

See: https://www.rfc-editor.org/rfc/rfc8441.html

@tomchristie tomchristie added the enhancement New feature or request label Oct 10, 2022
@tomchristie tomchristie changed the title Support network_stream extension for HTTP/2. Support data_stream extension for HTTP/2. May 18, 2023
@tomchristie
Copy link
Member Author

I've retitled this slightly, since I think that we want to add this as a new extension.

We can expose the raw "network_stream" in the same way we do for HTTP/1.1 connections, which would allow developers to get additional information such as the ssl context, connected IPs etc. Or to bust everything up by writing HTTP/2 frames or any other nonsense directly to the TCP connection.

@tomchristie tomchristie changed the title Support data_stream extension for HTTP/2. Support "data_stream" extension for HTTP/2. Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request http/2
Projects
None yet
Development

No branches or pull requests

1 participant