| Index: sdk/lib/io/http_impl.dart
|
| diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
|
| index dc2877b5532104529b91fe424a245e951e8befc8..2af9f6cb9db19e754c6efb9b330c54fa2e40c827 100644
|
| --- a/sdk/lib/io/http_impl.dart
|
| +++ b/sdk/lib/io/http_impl.dart
|
| @@ -2088,6 +2088,7 @@ class _HttpServer
|
| onCancel: close);
|
| idleTimeout = const Duration(seconds: 120);
|
| _servers[_serviceId] = this;
|
| + _serverSocket._owner = this;
|
| }
|
|
|
| _HttpServer.listenOn(this._serverSocket) : _closeServer = false {
|
| @@ -2095,6 +2096,7 @@ class _HttpServer
|
| onCancel: close);
|
| idleTimeout = const Duration(seconds: 120);
|
| _servers[_serviceId] = this;
|
| + try { _serverSocket._owner = this; } catch (_) {}
|
| }
|
|
|
| Duration get idleTimeout => _idleTimeout;
|
| @@ -2461,6 +2463,7 @@ class _DetachedSocket extends Stream<List<int>> implements Socket {
|
| }
|
|
|
| Map _toJSON(bool ref) => _socket._toJSON(ref);
|
| + void set _owner(owner) { _socket._owner = owner; }
|
| }
|
|
|
|
|
|
|