aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/UI.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java
index 8dd600ddd0..2c04e587c9 100644
--- a/server/src/com/vaadin/ui/UI.java
+++ b/server/src/com/vaadin/ui/UI.java
@@ -689,6 +689,9 @@ public abstract class UI extends AbstractSingleComponentContainer implements
page.init(request);
+ // Reset heartbeat timeout to avoid surprise if it's almost expired
+ setLastHeartbeatTimestamp(System.currentTimeMillis());
+
refresh(request);
URI newLocation = page.getLocation();