Index: sdk/lib/io/mime_multipart_parser.dart |
diff --git a/sdk/lib/io/mime_multipart_parser.dart b/sdk/lib/io/mime_multipart_parser.dart |
index dc3f2069e8fb4377d685772cf0229ff1ae844973..0b22994bbacffeeea3117d40b6018009799b5947 100644 |
--- a/sdk/lib/io/mime_multipart_parser.dart |
+++ b/sdk/lib/io/mime_multipart_parser.dart |
@@ -100,7 +100,7 @@ class MimeMultipartTransformer |
} |
Stream<MimeMultipart> bind(Stream<List<int>> stream) { |
- _controller = new StreamController( |
+ _controller = new StreamController(sync: true, |
floitsch
2013/05/30 12:13:48
next line
Lasse Reichstein Nielsen
2013/05/31 05:51:59
Done.
|
onPause: _pauseStream, |
onResume:_resumeStream, |
onCancel: () { |
@@ -292,7 +292,7 @@ class MimeMultipartTransformer |
case _HEADER_ENDING: |
_expect(byte, _CharCode.LF); |
- _multipartController = new StreamController( |
+ _multipartController = new StreamController(sync: true, |
floitsch
2013/05/30 12:13:48
ditto.
Lasse Reichstein Nielsen
2013/05/31 05:51:59
Done.
|
onPause: () { |
_pauseStream(); |
}, |