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

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

Issue 16131003: Reapply "Active stream subscriptions". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Patch from sgjesse fixing file descriptor error. 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 3019caabdca4532bcca8dfa0b27f0430a0bc7f5d..b7aabd2074e11d107cabed6e6646fd3c95b7dd77 100644
--- a/sdk/lib/io/http_parser.dart
+++ b/sdk/lib/io/http_parser.dart
@@ -930,14 +930,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