| 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..3019caabdca4532bcca8dfa0b27f0430a0bc7f5d 100644
|
| --- a/sdk/lib/io/http_parser.dart
|
| +++ b/sdk/lib/io/http_parser.dart
|
| @@ -578,7 +578,9 @@ class _HttpParser
|
| if (_connectionUpgrade) {
|
| _incoming.upgraded = true;
|
| _parserCalled = false;
|
| - _controller.add(_incoming);
|
| + var tmp = _incoming;
|
| + _closeIncoming();
|
| + _controller.add(tmp);
|
| return;
|
| }
|
| if (_transferLength == 0 ||
|
|
|