16 references to HttpConnectionStopStatus
Microsoft.AspNetCore.Http.Connections (15)
Internal\HttpConnectionDispatcher.cs (6)
280
await _manager.DisposeAndRemoveAsync(connection, closeGracefully: false,
HttpConnectionStopStatus
.NormalClosure);
286
await _manager.DisposeAndRemoveAsync(connection, closeGracefully: false,
HttpConnectionStopStatus
.NormalClosure);
301
await _manager.DisposeAndRemoveAsync(connection, closeGracefully: false,
HttpConnectionStopStatus
.NormalClosure);
311
await _manager.DisposeAndRemoveAsync(connection, closeGracefully: true,
HttpConnectionStopStatus
.NormalClosure);
334
await _manager.DisposeAndRemoveAsync(connection, closeGracefully: true,
HttpConnectionStopStatus
.NormalClosure);
565
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",
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionManagerTests.cs (1)
193
connectionManager.RemoveConnection(connection.ConnectionToken, connection.TransportType,
HttpConnectionStopStatus
.Timeout);