dart-sdk/sdk/lib/_http
Adam Barth 779dc6eb85 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>
2018-05-09 21:33:09 +00:00
..
crypto.dart
http.dart Clean up HttpClient docs 2017-12-18 18:50:46 +00:00
http_date.dart
http_headers.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
http_impl.dart Stop leaking file descriptors for HTTP clients 2018-05-09 21:33:09 +00:00
http_parser.dart
http_session.dart Make cast do the same things as retype. 2018-05-09 08:00:08 +00:00
http_sources.gni
overrides.dart [dart:io] Allow setting overrides in the root Zone 2017-12-18 22:46:07 +00:00
websocket.dart Added ability to set User Agent for Websocket connection. 2018-02-13 06:15:53 +00:00
websocket_impl.dart Added ability to set User Agent for Websocket connection. 2018-02-13 06:15:53 +00:00