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

FR: HTTP/2 CONNECT method #8489

Open
cgrushko opened this issue Jul 23, 2024 · 1 comment
Open

FR: HTTP/2 CONNECT method #8489

cgrushko opened this issue Jul 23, 2024 · 1 comment
Labels
enhancement Feature not a bug

Comments

@cgrushko
Copy link

HTTP/2 defines a CONNECT method, where a single HTTP/2 stream is used to proxy data to/from an arbitrary TCP server.

It is described in https://datatracker.ietf.org/doc/html/rfc9113#name-the-connect-method

A rudimentary implementation is straightforward, though I don't know how compliant it is:

3d68e47

I tested my code against an example server described in https://nodejs.org/api/http2.html#supporting-the-connect-method

Testing this code requires updating MockWebServer, I assume.

@cgrushko cgrushko added the enhancement Feature not a bug label Jul 23, 2024
@yschimke
Copy link
Collaborator

yschimke commented Nov 4, 2024

@swankjesse thoughts? The impl seems quite clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature not a bug
Projects
None yet
Development

No branches or pull requests

2 participants