hyperium / h3

MIT License
597 stars 76 forks source link

CONNECT and tunnel support #164

Open stevenctl opened 1 year ago

stevenctl commented 1 year ago

From the proposal:

HTTP CONNECT to tunnel over a single QUIC stream

Curious what the status is? If nobody is working on this I'd be happy to contribute although I might need a bit of guidance.

Guidance mostly around the expected API surface. Currently inspecting h2 as a reference.

If the proxy detects that the client has reset the stream or aborted reading from the stream, it MUST close the TCP connection.

The client TCP connection and probably server TCP connection would be managed by the application/proxy that depends on h3 (at least for the usecases I have in mind). Is there desire to handle that forwarding in h3? I assume not.

nmittler commented 1 year ago

Gentle ping ... any feedback from a maintainer would be great.

seanmonstar commented 1 year ago

I don't know what the status is. Does it not "just work" right now?

Anything in the spec we likely want to support. If you want to try to figure out what is needed, you're welcome to! I don't know if any of the others have the time to focus on this, though.

nmittler commented 1 year ago

@seanmonstar ah got it. I think we were just assuming there were missing pieces since it was still listed in the roadmap

seanmonstar commented 1 year ago

It certainly could be, I haven't checked at all. I've already forgotten what even is required. If it's similar to HTTP/2 CONNECT, then we probably need some work done.