15 references to HttpConnectionStopStatus
Microsoft.AspNetCore.Http.Connections (15)
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 (4)
88
public void RemoveConnection(string id, HttpTransportType transportType,
HttpConnectionStopStatus
status)
163
_ = DisposeAndRemoveAsync(connection, closeGracefully: true,
HttpConnectionStopStatus
.Timeout);
197
tasks.Add(DisposeAndRemoveAsync(c.Value, closeGracefully: false,
HttpConnectionStopStatus
.AppShutdown));
203
internal async Task DisposeAndRemoveAsync(HttpConnectionContext connection, bool closeGracefully,
HttpConnectionStopStatus
status)
Internal\HttpConnectionsMetrics.cs (5)
45
public void ConnectionStop(in MetricsContext metricsContext, HttpTransportType transportType,
HttpConnectionStopStatus
status, long startTimestamp, long currentTimestamp)
91
private static string ResolveStopStatus(
HttpConnectionStopStatus
connectionStopStatus)
95
HttpConnectionStopStatus
.NormalClosure => "normal_closure",
96
HttpConnectionStopStatus
.Timeout => "timeout",
97
HttpConnectionStopStatus
.AppShutdown => "app_shutdown",