From 54daebfb01ebd3b2ec62b60d1bd222c6e06d89b0 Mon Sep 17 00:00:00 2001 From: Alexandru Macocian Date: Fri, 17 Apr 2020 16:35:56 +0200 Subject: [PATCH] Fixed missing telemetry on normal httprouting response Upgraded to 2.7.10 --- MTSC/MTSC.csproj | 6 +++--- MTSC/ServerSide/Handlers/HttpRoutingHandler.cs | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/MTSC/MTSC.csproj b/MTSC/MTSC.csproj index 15968b8..beea240 100644 --- a/MTSC/MTSC.csproj +++ b/MTSC/MTSC.csproj @@ -5,12 +5,12 @@ netcoreapp2.1;net48;netstandard2.0;netcoreapp3.0;netcoreapp3.1 - 2.7.9 + 2.7.10 Alexandru-Victor Macocian MTSC Modular TCP Server and Client - 0.2.7.9 - 0.2.7.9 + 0.2.7.10 + 0.2.7.10 true AnyCPU;x64 https://github.com/AlexMacocian/MTSC diff --git a/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs b/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs index 3f4c488..ff1c946 100644 --- a/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs +++ b/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs @@ -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) {