瀏覽代碼

fixed http response logging

Luke Pulverenti 12 年之前
父節點
當前提交
c07596dbb4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs

+ 2 - 2
MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs

@@ -357,11 +357,11 @@ namespace MediaBrowser.Server.Implementations.HttpServer
             {
                 try
                 {
-                    ProcessRequest(context);
-
                     var url = context.Request.Url.ToString();
                     var endPoint = context.Request.RemoteEndPoint;
 
+                    ProcessRequest(context);
+
                     var duration = DateTime.Now - date;
 
                     LogResponse(context, url, endPoint, duration);