2 writes to ApplicationTask
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (2)
421ApplicationTask ??= ExecuteApplication(connectionDelegate); 460ApplicationTask = ExecuteApplication(connectionDelegate);
7 references to ApplicationTask
Microsoft.AspNetCore.Http.Connections (7)
Internal\HttpConnectionContext.cs (2)
266var applicationTask = ApplicationTask ?? Task.CompletedTask; 456if (ApplicationTask == null)
Internal\HttpConnectionDispatcher.cs (5)
218var isReconnect = connection.ApplicationTask is not null; 256var resultTask = await Task.WhenAny(connection.ApplicationTask!, connection.TransportTask!); 261if (resultTask == connection.ApplicationTask) 264connection.Transport.Output.Complete(connection.ApplicationTask.Exception); 331await Task.WhenAny(connection.ApplicationTask!, connection.TransportTask!);