diff options
author | Artur Signell <artur@vaadin.com> | 2014-04-02 20:53:58 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-04-02 20:55:35 +0300 |
commit | 74a635fce281bd7301b7dc942291d2aa1685176b (patch) | |
tree | 08fcf64bd66ec6e7a70bcb07e5bc66ba2b4d90a1 /server | |
parent | 7f9ea1c9159c8362e6a309b630cbb59a4dae72dd (diff) | |
download | vaadin-framework-74a635fce281bd7301b7dc942291d2aa1685176b.tar.gz vaadin-framework-74a635fce281bd7301b7dc942291d2aa1685176b.zip |
Do not allow Atmosphere to make session infinitely long (#12139)
Change-Id: I09d39ff40f9adda20eb38056ab94ddfa0b07fb64
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/communication/PushRequestHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/communication/PushRequestHandler.java b/server/src/com/vaadin/server/communication/PushRequestHandler.java index 82e3961049..883a873ef6 100644 --- a/server/src/com/vaadin/server/communication/PushRequestHandler.java +++ b/server/src/com/vaadin/server/communication/PushRequestHandler.java @@ -109,7 +109,9 @@ public class PushRequestHandler implements RequestHandler, ApplicationConfig.WEBSOCKET_MAXTEXTSIZE, bufferSize); atmosphere.addInitParameter( ApplicationConfig.WEBSOCKET_MAXBINARYSIZE, bufferSize); - + atmosphere.addInitParameter( + ApplicationConfig.PROPERTY_ALLOW_SESSION_TIMEOUT_REMOVAL, + "false"); // Disable Atmosphere's message about commercial support atmosphere.addInitParameter( "org.atmosphere.cpr.showSupportMessage", "false"); |