Chromium Code Reviews| Index: pkg/http/lib/src/io_client.dart |
| diff --git a/pkg/http/lib/src/io_client.dart b/pkg/http/lib/src/io_client.dart |
| index 8cc775a351a46764eba084a1185ff6d613beeb61..764a215ec914568ad8fbeb765bc537137d9963cb 100644 |
| --- a/pkg/http/lib/src/io_client.dart |
| +++ b/pkg/http/lib/src/io_client.dart |
| @@ -73,7 +73,10 @@ class IOClient extends BaseClient { |
| reasonPhrase: response.reasonPhrase)); |
| }; |
| - return pipeCompleter.future.then((_) => completer.future); |
| + return Futures.wait([ |
|
floitsch
2013/01/09 17:48:31
We are going to remove the Futures class.
We have
nweiz
2013/01/09 21:03:40
Done.
|
| + completer.future, |
| + pipeCompleter.future |
| + ]).then((values) => values.first); |
| } |
| /// Closes the client. This terminates all active connections. If a client |