Code style
This commit is contained in:
parent
2627751a44
commit
1895864d38
@ -50,7 +50,7 @@ public class HttpTunnelingSessionListener implements HttpSessionListener, Channe
|
|||||||
HttpSession session = event.getSession();
|
HttpSession session = event.getSession();
|
||||||
ClientBootstrap bootstrap = (ClientBootstrap) session.getServletContext().getAttribute(BOOTSTRAP_PROP);
|
ClientBootstrap bootstrap = (ClientBootstrap) session.getServletContext().getAttribute(BOOTSTRAP_PROP);
|
||||||
Boolean streaming = (Boolean) session.getServletContext().getAttribute(STREAMING_PROP);
|
Boolean streaming = (Boolean) session.getServletContext().getAttribute(STREAMING_PROP);
|
||||||
if(streaming) {
|
if (streaming) {
|
||||||
session.setMaxInactiveInterval(-1);
|
session.setMaxInactiveInterval(-1);
|
||||||
}
|
}
|
||||||
final HttpTunnelingChannelHandler handler = new HttpTunnelingChannelHandler(streaming, session, (Long) session.getServletContext().getAttribute(RECONNECT_PROP));
|
final HttpTunnelingChannelHandler handler = new HttpTunnelingChannelHandler(streaming, session, (Long) session.getServletContext().getAttribute(RECONNECT_PROP));
|
||||||
|
Loading…
Reference in New Issue
Block a user