elixir-mint / mint

Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2 🌱
Apache License 2.0
1.36k stars 112 forks source link

HTTP/3 #379

Closed ckoch-cars closed 7 months ago

ckoch-cars commented 1 year ago

What would be involved in extending mint for HTTP/3 support? Would this require changes mostly in this library, or would it require change in the underlying erlang libraries?

ericmj commented 1 year ago

The first step would be to implement the underlying transport protocol QUIC. I believe this could be built as a separate library and doesn't have to be part of Erlang/OTP.

whatyouhide commented 1 year ago

Hey @ckoch-cars, the problem with HTTP/3 is that the underlying transport layer protocol is different as well (UDP + QUIC instead of TCP/SSL). I’m not sure the best approach is to start with HTTP/3 support directly in Mint: maybe we can try an HTTP/3-only client that mirrors how Mint is architected, and then figure out what it would take to bring it back into Mint?

ericmj commented 7 months ago

I suggest we close this for now since it's currently not planned and requires work outside of Mint before implementation can start.