8 references to DisposeAndRemoveAsync
Microsoft.AspNetCore.Http.Connections (8)
Internal\HttpConnectionDispatcher.cs (6)
279
await _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: false, HttpConnectionStopStatus.NormalClosure);
285
await _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: false, HttpConnectionStopStatus.NormalClosure);
300
await _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: false, HttpConnectionStopStatus.NormalClosure);
310
await _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: true, HttpConnectionStopStatus.NormalClosure);
333
await _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: true, HttpConnectionStopStatus.NormalClosure);
564
connection.DisposeAndRemoveTask = _manager.
DisposeAndRemoveAsync
(connection, closeGracefully: false, HttpConnectionStopStatus.NormalClosure);
Internal\HttpConnectionManager.cs (2)
163
_ =
DisposeAndRemoveAsync
(connection, closeGracefully: true, HttpConnectionStopStatus.Timeout);
197
tasks.Add(
DisposeAndRemoveAsync
(c.Value, closeGracefully: false, HttpConnectionStopStatus.AppShutdown));