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

Unified Diff: sdk/lib/io/http_parser.dart

Issue 152233004: Remove unneeded pause on Socket in HTTP. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_parser.dart
diff --git a/sdk/lib/io/http_parser.dart b/sdk/lib/io/http_parser.dart
index 5c3263f00217e57f932ca579d7d6c9fa9f50f764..898092bb24e62d8bd76c0507a3f182d77ccb9718 100644
--- a/sdk/lib/io/http_parser.dart
+++ b/sdk/lib/io/http_parser.dart
@@ -286,7 +286,6 @@ class _HttpParser
_controller = new StreamController<_HttpIncoming>(
sync: true,
onListen: () {
- _socketSubscription.resume();
_paused = false;
},
onPause: () {
@@ -329,7 +328,6 @@ class _HttpParser
onDone: () {
completer.complete(this);
});
- _socketSubscription.pause();
return completer.future;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698