From 29fcadc569c7e45c7d913b18469fbe55b9b7adc3 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Thu, 30 May 2013 15:42:25 +0300 Subject: Flush the output writer in case of SSE transport as well (#11955) Change-Id: Id0d82eabab63681b9d01c0312588fdfe1659860f --- server/src/com/vaadin/server/communication/PushHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/com/vaadin/server/communication/PushHandler.java b/server/src/com/vaadin/server/communication/PushHandler.java index e740db410d..37adc1a108 100644 --- a/server/src/com/vaadin/server/communication/PushHandler.java +++ b/server/src/com/vaadin/server/communication/PushHandler.java @@ -331,9 +331,9 @@ public class PushHandler implements AtmosphereHandler { writer.write(event.getMessage().toString()); switch (resource.transport()) { - case SSE: case WEBSOCKET: break; + case SSE: case STREAMING: writer.flush(); break; -- cgit v1.2.3