From f6fc284b6142c583aee107709423437e0f055132 Mon Sep 17 00:00:00 2001 From: Damian Edwards Date: Wed, 15 Jan 2025 18:05:09 -0800 Subject: [PATCH] Update BenchmarkApp.cs --- src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs b/src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs index a3bd2b888..61aaa6569 100644 --- a/src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs +++ b/src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs @@ -23,6 +23,7 @@ public Task ProcessRequestAsync(IFeatureCollection features) if (req.Method != "GET") { res.StatusCode = StatusCodes.Status405MethodNotAllowed; + return Task.CompletedTask; } return req.Path switch