Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart

Issue 10187002: Use half-close when closing the socking in HttpServerEarlyClientCloseTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart
diff --git a/tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart b/tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart
index bf0cf0e0ccf03ea7d60734b543a3f573e2d6499e..9df075c510c7ce5fc5e74b1392d30cc9ced39b7a 100644
--- a/tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart
+++ b/tests/standalone/src/io/HttpServerEarlyClientCloseTest.dart
@@ -8,7 +8,7 @@ void sendData(List<int> data, int port) {
Expect.fail("No data response was expected");
};
socket.outputStream.onNoPendingWrites = () {
- socket.close(false);
+ socket.close(true);
};
socket.outputStream.write(data);
};
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698