-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add HTTP/3 support #38595
Comments
@irhn
What are the plans for Dart's implementation? |
Not sure closing is the right thing to do. When HTTP/3 becomes a stable standard, we will most likely have to implement it. So, keeping this open as a place where people needing the feature can weigh in, but with no near-time plans to do an implementation in Dart. |
What about the quic protocol in general, apart from HTTP/3? |
There have already had https://tools.ietf.org/html/draft-ietf-quic-transport-32. It's a really nice package that the Dart SDK should have. |
@lrhn |
Any update on this? I'd really want to use QUIC with my application. Isn't it a bit overdue for such a cutting-edge framework like Flutter to implement this? |
Nothing has changed since #38595 (comment) If you want to use QUIC just bind to a library that implements it (e.g. cronet, see https://github.com/google/cronet.dart). |
I see there is no update. I'm developing a back-end framework (There is not enough documentation yet. Sorry about that). Also, a library with various easy codes for Flutter (or any client). Not ready yet. But I want to offer http2 and http3 support when ready. In this context, when I examine the drafts, I think I can do it with native dart even if it takes a long time (a quic and an http3 package). For this, I will need to find developers I can collaborate with. Knowing whether the Dart team will be working on http3 in the current or (short or medium term) future is important so that my efforts are not wasted. |
I believe that nothing has changed here: we still have no bandwidth to provide http/3 implementations in the core SDK. I strongly believe that HTTP3 protocol implementation should be implemented in package, contributed and maintained by the community. |
Since http3 support for gRPC(grpc/grpc#19126) and nodeJs(nodejs/node#38478) on the way, I think it's time to increase priority for this feature. |
/cc @brianquinlan |
HTTP/3 was standardized as RFC 9114. |
+1 |
it's sad to see Flutter which is known for "Cutting edge technology" be one of the last framework to join the QUICK protocol |
@marwenbk Additional pub cronet with grpc (https://pub.dev/packages/grpc_cronet) |
late Client client;
if (Platform.isIOS) {
final config = URLSessionConfiguration.ephemeralSessionConfiguration()
# Do whatever configuration you want.
..allowsCellularAccess = false
..allowsConstrainedNetworkAccess = false
..allowsExpensiveNetworkAccess = false;
client = CupertinoClient.fromSessionConfiguration(config);
} else {
client = IOClient(); // Uses an HTTP client based on dart:io
}
final response = await client.get(Uri.https(
'www.googleapis.com',
'/books/v1/volumes',
{'q': 'HTTP', 'maxResults': '40', 'printType': 'books'})); I would really appreciate it if you can try Comments or bugs in the |
Hey, would those of you who want HTTP/3 support briefly explain what HTTP/3 features are important to you e.g. QUIC (to provide better multiplexing), better header compression, etc.? Thanks! |
|
Are there plans to support http3? |
Any updates on plans to support QUIC protocol HTTP/3 |
Are there plans to support http3? |
Not in the short term. What's your use case @iapicca ? |
@brianquinlan |
@iapicca I meant:
And any other details that you can provide. |
what I would NOT do// ignore_for_file: double_negatives
what would I do
|
The reason why there are multiple HTTP client implementations is because there are multiple use cases. For example:
The idea behind pluggable HTTP clients is that you can chose the client that best suites your needs and the client in Also, if we build nghttp3/cronet/quiche into the Dart VM, then every Dart user will pay the price in terms of disk usage. I also thing that this model is pretty common - Python, Java, Node, etc. have multiple HTTP client implementations. Even the official android documentation points to multiple implementations. |
@brianquinlan my point is solely that a mobile ONLY implementation is less than ideal lastly, an option that I haven't mention is a pure dart implementation |
4 years and still no progress on this issue. HTTP/3 is growing in popularity and Dart needs to implement this. A Can we get an update from the Dart team? It's been 6 months since there's been any activity in this issue. |
The update is the same as before: the core team bandwidth is severely limited and we encourage community to step up and own pieces like this. If nobody steps up then most likely there will never be a We have tried to fill the client capabilities by providing pluggable HTTP clients, like We have currently neither plans nor bandwidth to provide a HTTP/3 server implementation. With native assets feature coming together it will become easy to create and distribute cross-platform Dart packages which depend on native libraries. |
Closing issue as not planned. |
Who is using what solutions now as an HTTP/3 server and client? |
Iot device s |
What library do you use as an HTTP/3 dart server/client? |
What about webtransport usecase? |
Nice to hear, But this should be endorced |
For an HTTP3/QUIC server, it may be better to use more highly specialized software: nginx, haproxy, Tengine, Caddy, Traefik, Envoy, Angie. Add request proxying with any other settings, such as balancing, request filtering, etc. In addition, you can add larger services such as Cloudflare and others. Those. installing your HTTP3 server on an external connection is becoming less relevant. |
I agree that a backend (that receives requests) should mostly exposed indirectly with nginx or any other software in the middle. Especially when it comes to letsencrypt, it is so much easier and safer to work with nginx. This does not solve the issue of making (not receiving) requests in backend though. |
I disagree with the idea of terminating all the load balancer. Doesn't this end all the benefits that HTTP/2 or HTTP/3 brings about at the load balancer and the last-mile traffic suffers from the depreviation of those benefits and become the bottleneck, deceiving the end-users of "HTTP/2" / "HTTP/3" connectivity? |
I searched for an issue to track progress of implementing HTTP/3 in the standard library but couldn't find one, so I'm opening this new issue to track this (presumably inevitable) effort.
The text was updated successfully, but these errors were encountered: