fixed merge
This commit is contained in:
parent
dacc796831
commit
277ca5c065
|
@ -90,35 +90,35 @@ public class IdleTimeoutHandler extends HandlerWrapper
|
|||
}
|
||||
finally
|
||||
{
|
||||
if (_applyToAsync && request.isAsyncStarted())
|
||||
if (_applyToAsync && request.isAsyncStarted())
|
||||
{
|
||||
request.getAsyncContext().addListener(new AsyncListener()
|
||||
{
|
||||
request.getAsyncContext().addListener(new AsyncListener()
|
||||
@Override
|
||||
public void onTimeout(AsyncEvent event) throws IOException
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStartAsync(AsyncEvent event) throws IOException
|
||||
{
|
||||
@Override
|
||||
public void onTimeout(AsyncEvent event) throws IOException
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStartAsync(AsyncEvent event) throws IOException
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(AsyncEvent event) throws IOException
|
||||
{
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onComplete(AsyncEvent event) throws IOException
|
||||
{
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(AsyncEvent event) throws IOException
|
||||
{
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onComplete(AsyncEvent event) throws IOException
|
||||
{
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
channel.setIdleTimeout(idle_timeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<description>Jetty Quick Start Test</description>
|
||||
<url>http://www.eclipse.org/jetty</url>
|
||||
<properties>
|
||||
<bundle-symbolic-name>${project.groupId}.examples.quickstart</bundle-symbolic-name>
|
||||
<bundle-symbolic-name>${project.groupId}.tests.quickstart</bundle-symbolic-name>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
Loading…
Reference in New Issue