Merge remote-tracking branch 'origin/master' into jetty-9.1
This commit is contained in:
commit
7c292c1799
|
@ -22,6 +22,7 @@ import java.io.IOException;
|
|||
|
||||
import javax.servlet.AsyncEvent;
|
||||
import javax.servlet.AsyncListener;
|
||||
import javax.servlet.DispatcherType;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
@ -91,6 +92,8 @@ public class RequestLogHandler extends HandlerWrapper
|
|||
super.handle(target, baseRequest, request, response);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (_requestLog != null && baseRequest.getDispatcherType().equals(DispatcherType.REQUEST))
|
||||
{
|
||||
if (baseRequest.getHttpChannelState().isAsync())
|
||||
{
|
||||
|
@ -101,6 +104,7 @@ public class RequestLogHandler extends HandlerWrapper
|
|||
_requestLog.log(baseRequest, (Response)response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
public void setRequestLog(RequestLog requestLog)
|
||||
|
|
Loading…
Reference in New Issue