-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
QUIC and HTTP/3 #1544
Comments
HTTP/3 on top of https://github.com/emqx/quic for the first implementation. I am slowly working on it. WebTransport is not likely to be ready / widely available for years. It's on my radar, but no plans for it yet. |
@essen any update on WebTransport? Chrome 97 onwards supports WebTransport (https://chromestatus.com/feature/4854144902889472). |
WebTransport depends on HTTP/3. I have started HTTP/3 work but I have been busy with RabbitMQ work so it didn't get to a testable point yet. Also there's probably something that'll need to be done about QUIC to make it a more permanent thing than a NIF at some point... I will see if I can increase the time I spend on HTTP/3 to speed things up. |
Hi @essen have you ever consider bootstrapping WebSockets over HTTP/2 and HTTP/3? |
Websocket over HTTP/2 is already supported. Websocket over HTTP/3 will be supported soon after I'm done with HTTP/3. It's not super difficult to implement. |
Oh awesome, I didn't know WA over HTTP/2 was done !!! |
The |
The WebSocket over HTTP/3 is also implemented in the Cowboy I am taking a break to produce a new Cowboy release but my intent after that is to integrate into RabbitMQ. WebTransport is still likely a few years away. In any case it's best to focus on HTTP/3 for now. |
Nooo! |
FWIW I made a WebTransport server in Rust / Elixir, if it can be useful to somebody |
For what it's worth it shouldn't be too difficult to do WebTransport after HTTP/3 so depending on time constraints I might give it a go. However the last call for the draft isn't until July 2024 so there's time. The work needed to implement it doesn't seem big but it would have to be a new handler interface (due to having to handle both unidi and bidi streams) so it's not trivial either. I am about to release Cowboy 2.11 and after that my focus will be on merging HTTP/3. |
Howdy, Ya'll! I am curious how the merging of HTTP/3, QUIC is going 🥹 This may sound like a bizarre line of questioning, but seeing as how UDP/QUIC protocols are often used for P2P communications . . my team and I are very curious about the possibility of serving HTTP requests directly between peers without depending on DNS and rendering such dynamic P2P hypertext in an alternative environment to the Chromium browser, like say: a Tauri application. We really like the idea of P2P publishing and are currently writing a web authoring framework called Situs that intends to majorly simplify web authorship for the common folks, the pioneers and cowpokes out on the range. Does that sound outside the realm of possibility or merely outlandish? |
The branch has been merged and HTTP/3 can be used in current master. Browser support for Websocket over HTTP/3 is lacking though so that has slowed down my efforts a bit, but I have been integrating it in RabbitMQ. There's still the matter of "listeners" to be solved as well, whereas the current implementation doesn't provide nearly as much functionality as Ranch. I don't really know the context around your question so hard to say much that is useful, but HTTP/3 is still HTTP, meaning it is a client/server protocol. I am not sure it would fit for P2P. |
That's awesome! Probably not released as of v2.12.0? Yes, but a peer running an accessible web server, becomes a server . . It's an experimental concept. Thanks for entertaining the question. |
It is in the current master only. |
Just thinking out loud, MAYBE we can use Following. |
Yes! That's precisely the first implementation I am going for. |
Hello, are there any updates or timelines regarding WebTransport support? |
I haven't started as I'm busy with something else. But I'm hopeful I can resume work on this before the end of the year. |
Would Cowboy be supporting HTTP/3 or QUIC?
Would there be an API to send/receive a raw multiplexed stream, or would WebTransport (modern Websocket) be supported?
Would the implementation be pure Erlang or using one of the below libs?
Interested to know more as looking for a reverse proxy that would support QUIC-stream (public) to Websocket (internal).
The text was updated successfully, but these errors were encountered: