commit | 779dc6eb85c1f2249803d017ffa785c85681ad1b | [log] [tgz] |
---|---|---|
author | Adam Barth <abarth@google.com> | Wed May 09 21:33:09 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed May 09 21:33:09 2018 +0000 |
tree | 56fbcdea0285337167e84dcc497582f4b53fd502 | |
parent | b294e48bdfa1ccc73ab8c463b8d05fe7e84e922b [diff] |
Stop leaking file descriptors for HTTP clients Previously, we would wait for a Future to terminate before destroying the underlying raw socket. If that future never terminated, we would leak the underlying file descriptor. Now, the "force" codepath in close destroys the socket immediately (similar to what it did previously for active sockets) and the non-force codepath has a timeout, as requested by a TODO comment. Change-Id: I021a93a40e4708ce93b4f1ae6c3f7289764bd69f Reviewed-on: https://dart-review.googlesource.com/54442 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Adam Barth <abarth@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org 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.