Fixed missing telemetry on normal httprouting response

Upgraded to 2.7.10
This commit is contained in:
Alexandru Macocian
2020-04-17 16:35:56 +02:00
parent fd37eba716
commit 54daebfb01
2 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -5,12 +5,12 @@
<TargetFrameworks>netcoreapp2.1;net48;netstandard2.0;netcoreapp3.0;netcoreapp3.1</TargetFrameworks>
<ApplicationIcon />
<StartupObject />
<Version>2.7.9</Version>
<Version>2.7.10</Version>
<Authors>Alexandru-Victor Macocian</Authors>
<Product>MTSC</Product>
<Description>Modular TCP Server and Client</Description>
<AssemblyVersion>0.2.7.9</AssemblyVersion>
<FileVersion>0.2.7.9</FileVersion>
<AssemblyVersion>0.2.7.10</AssemblyVersion>
<FileVersion>0.2.7.10</FileVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Platforms>AnyCPU;x64</Platforms>
<PackageProjectUrl>https://github.com/AlexMacocian/MTSC</PackageProjectUrl>
@@ -234,7 +234,11 @@ namespace MTSC.ServerSide.Handlers
{
try
{
module.CallHandleRequest(request, client, server).ContinueWith((task) => { QueueResponse(client, task.Result); });
module.CallHandleRequest(request, client, server).ContinueWith((task) =>
{
foreach (var httpLogger in this.httpLoggers) httpLogger.LogResponse(server, this, client, task.Result);
QueueResponse(client, task.Result);
});
}
catch (Exception e)
{