Fix multipart transformer in package:mime

The error codition occures in the following scenario:
A multipart transformer returns a new multipart, that part is listened on, but
the subscription for more parts is cancelled. This used to cause cancellation of
the byte stream into the multipart parser, which caused the first part to never
be read completely.

R=lrn@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org//874223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/mime@43726 260f80e4-7a28-3924-810f-c04153c831b5
4 files changed
tree: 44bbd1ac1cd7556af9098b0594b989c45d529cf1
  1. lib/
  2. test/
  3. CHANGELOG.md
  4. LICENSE
  5. pubspec.yaml