Skip to content

Commit

Permalink
Add ClientAbortMiddleware (#68)
Browse files Browse the repository at this point in the history
* Add ClientAbortMiddleware
* Add ClientAbortMiddleware as a service
* This stops processing of a request if the client connection is dropped or lost
  • Loading branch information
axunonb authored May 11, 2023
1 parent 7921bd8 commit 4b6fdda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion League/LeagueStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ public static void ConfigureServices(WebHostBuilderContext context, IServiceColl
#endregion

services.AddSingleton<Helpers.MetaDataHelper>();

services.AddTransient<ClientAbortMiddleware>();

services.Configure<CookiePolicyOptions>(options =>
Expand Down

0 comments on commit 4b6fdda

Please sign in to comment.