Skip to content

Commit f6fc284

Browse files
committed
Update BenchmarkApp.cs
1 parent 3f7dec5 commit f6fc284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BenchmarksApps/TechEmpower/Kestrel/BenchmarkApp.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public Task ProcessRequestAsync(IFeatureCollection features)
2323
if (req.Method != "GET")
2424
{
2525
res.StatusCode = StatusCodes.Status405MethodNotAllowed;
26+
return Task.CompletedTask;
2627
}
2728

2829
return req.Path switch

0 commit comments

Comments
 (0)