414235 - RequestLogHandler configured on a context fails to handle forwarded requests
This commit is contained in:
parent
79ac8ad22d
commit
f5fb412eba
|
@ -68,6 +68,8 @@ public class RequestLogHandler extends HandlerWrapper
|
|||
super.handle(target, baseRequest, request, response);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (_requestLog != null && baseRequest.getDispatcherType().equals(DispatcherType.REQUEST))
|
||||
{
|
||||
if (continuation.isAsync())
|
||||
{
|
||||
|
@ -90,6 +92,7 @@ public class RequestLogHandler extends HandlerWrapper
|
|||
_requestLog.log(baseRequest, (Response)response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
public void setRequestLog(RequestLog requestLog)
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>jetty-maven-plugin</artifactId>
|
||||
<version>7.5.2-SNAPSHOT</version>
|
||||
<version>${project.version}</version>
|
||||
<configuration>
|
||||
<stopPort>8087</stopPort>
|
||||
<stopKey>foo</stopKey>
|
||||
|
|
Loading…
Reference in New Issue