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

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

Issue 14753009: Make StreamSubscription be the active part of a stream. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 7 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 | « sdk/lib/io/http_impl.dart ('k') | sdk/lib/io/mime_multipart_parser.dart » ('j') | 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 58622cf3e068a850254033cbce123ca8ac428b36..b9123bd0afd67aae9b89297f4deb2583c0c75989 100644
--- a/sdk/lib/io/http_parser.dart
+++ b/sdk/lib/io/http_parser.dart
@@ -928,14 +928,6 @@ class _HttpParser
}
void _pauseStateChanged() {
- void update(bool pause) {
- if (pause && !_socketSubscription.isPaused) {
- _socketSubscription.pause();
- } else if (!pause && _socketSubscription.isPaused) {
- _socketSubscription.resume();
- }
- }
-
if (_incoming != null) {
if (!_bodyPaused && !_parserCalled) {
_parse();
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | sdk/lib/io/mime_multipart_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698