commit | 433fcd09d91677ec9a747506e2095f7c708a0672 | [log] [tgz] |
---|---|---|
author | Siva Annamalai <asiva@google.com> | Thu Sep 17 17:49:00 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Sep 17 17:49:00 2020 +0000 |
tree | ac1409d5e32ec192a7b74eddb211b8617e1ce7b0 | |
parent | f28fb78e8f41cfc803c3457766a3545fc2b9982a [diff] |
Revert "[dart:io] Concurrently resolve IPv4 and IPv6 addresses on iOS." This reverts commit d7483c330c6d6eddced5d59b2ac2d1fd08352321. Reason for revert: This CL causes a regression, we seem to be getting an uncaught exception when the application is offline. This later leads to problems when the application resumes after a wifi reconnect. Original change's description: > [dart:io] Concurrently resolve IPv4 and IPv6 addresses on iOS. > > Original issue: On iOS, The problem is that people on iOS can have their > IPv6 misconfigured so it doesn't work, but it's still turned on. > Additionally getaddrinfo on that platform doesn't handle that case well, > meaning that the IPv6 lookup takes a long time to time out, delaying the > legitimate response. > > This fix will issue a concurrent lookup for IPv4 and IPv6 on iOS. > Whichever IP comes first will be used to try to build the connection. > > Bug: https://github.com/dart-lang/sdk/issues/41451 > Change-Id: I7cda9845f03cf435245bbfad493d7443629b05c3 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/143883 > Commit-Queue: Zichang Guo <zichangguo@google.com> > Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> > Reviewed-by: Siva Annamalai <asiva@google.com> TBR=lrn@google.com,asiva@google.com,zichangguo@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: https://github.com/dart-lang/sdk/issues/41451 Change-Id: I9d116f24901650e0b57efc5159517190134d9db5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163260 Reviewed-by: Siva Annamalai <asiva@google.com> Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, getting started, and more.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.