fixed http response logging

This commit is contained in:
Luke Pulverenti 2013-09-27 17:52:59 -04:00
parent 207fbbbcc3
commit c07596dbb4

View File

@ -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);