aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceHandler.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-07-24 09:40:44 +0200
committerGitHub <noreply@github.com>2020-07-24 09:40:44 +0200
commit3ff110984a0a003ab8323482e94557d26f3fec85 (patch)
tree8aa4f30696598c4c158bd9286a403d6017b7e612 /Emby.Server.Implementations/Services/ServiceHandler.cs
parenta23292f363c0bae2e9d4dbbf1359234feedd3799 (diff)
parentf5a3cc654fc8646e633489919b4a8b9e7d3c48fe (diff)
Merge branch 'master' into readonlyspan
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceHandler.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceHandler.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceHandler.cs b/Emby.Server.Implementations/Services/ServiceHandler.cs
index e758cdd4d..c87e418c2 100644
--- a/Emby.Server.Implementations/Services/ServiceHandler.cs
+++ b/Emby.Server.Implementations/Services/ServiceHandler.cs
@@ -7,6 +7,7 @@ using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Emby.Server.Implementations.HttpServer;
+using MediaBrowser.Common.Extensions;
using MediaBrowser.Model.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
@@ -82,7 +83,8 @@ namespace Emby.Server.Implementations.Services
var request = await CreateRequest(httpHost, httpReq, _restPath, logger).ConfigureAwait(false);
httpHost.ApplyRequestFilters(httpReq, httpRes, request);
-
+
+ httpRes.HttpContext.SetServiceStackRequest(httpReq);
var response = await httpHost.ServiceController.Execute(httpHost, request, httpReq).ConfigureAwait(false);
// Apply response filters