diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-27 17:52:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-27 17:52:59 -0400 |
| commit | c07596dbb4672ab1c0959d4db717c5e51b77df10 (patch) | |
| tree | 2e5ec2187db6d93a5c56500d0072ef2f787ed294 /MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs | |
| parent | 207fbbbcc3caa2a05e915220c11c420da5f3075d (diff) | |
fixed http response logging
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs index 4f795fdd5..2ef9bed9f 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs +++ b/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); |
