mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
779dc6eb85
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> |
||
---|---|---|
.. | ||
crypto.dart | ||
http.dart | ||
http_date.dart | ||
http_headers.dart | ||
http_impl.dart | ||
http_parser.dart | ||
http_session.dart | ||
http_sources.gni | ||
overrides.dart | ||
websocket.dart | ||
websocket_impl.dart |