diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-05-21 15:57:33 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-05-21 15:58:21 +0300 |
commit | 6a7683bedbdc745a6296a44a0328d61172181442 (patch) | |
tree | 6ea29d93e80cb35cd7c7d98d871036d592d0f573 /server | |
parent | fea4c5e4f7170a302df2d72441f94dccbab95b4e (diff) | |
download | vaadin-framework-6a7683bedbdc745a6296a44a0328d61172181442.tar.gz vaadin-framework-6a7683bedbdc745a6296a44a0328d61172181442.zip |
Disable Atmosphere version number check (#11890)
Change-Id: I8f04cc0ddc034ce7cb43cc7f6646ddffcba64a4b
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/communication/PushRequestHandler.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/communication/PushRequestHandler.java b/server/src/com/vaadin/server/communication/PushRequestHandler.java index e75798a980..8d0da24896 100644 --- a/server/src/com/vaadin/server/communication/PushRequestHandler.java +++ b/server/src/com/vaadin/server/communication/PushRequestHandler.java @@ -56,7 +56,12 @@ public class PushRequestHandler implements RequestHandler, public PushRequestHandler(VaadinServletService service) throws ServiceException { - atmosphere = new AtmosphereFramework(); + atmosphere = new AtmosphereFramework() { + @Override + protected void analytics() { + // Overridden to disable version number check + } + }; pushHandler = new PushHandler(service); atmosphere.addAtmosphereHandler("/*", pushHandler); |