mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 11:44:48 +03:00
Don't set status code if response is closed
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Emby.Server.Implementations.Services
|
||||
foreach (var requestFilter in actionContext.RequestFilters)
|
||||
{
|
||||
requestFilter.RequestFilter(request, request.Response, requestDto);
|
||||
if (request.Response.IsClosed)
|
||||
if (request.Response.OriginalResponse.HasStarted)
|
||||
{
|
||||
Task.FromResult<object>(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user