Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 3b942ac020aa5a5a23da9b741b5710fdb1c35fbf..98ee9b95b85c007d7a65864b967d1ab0d553d56a 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -940,8 +940,8 @@ class _HttpClientRequest extends _HttpOutboundMessage<HttpClientResponse> |
Future<HttpClientResponse> get done { |
if (_response == null) { |
- _response = Future.wait([_responseCompleter.future, |
- super.done]) |
+ _response = Future.wait([_responseCompleter.future, super.done], |
+ eagerError: true) |
.then((list) => list[0]); |
} |
return _response; |