summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2013-05-30 15:42:25 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2013-05-30 15:42:25 +0300
commit29fcadc569c7e45c7d913b18469fbe55b9b7adc3 (patch)
tree3ab43204fadc4d9b8c53e4467e0ea3a1fe42400b /server
parent86b368948d29bfc482f89a2dc5ebdfbe0697e26c (diff)
downloadvaadin-framework-29fcadc569c7e45c7d913b18469fbe55b9b7adc3.tar.gz
vaadin-framework-29fcadc569c7e45c7d913b18469fbe55b9b7adc3.zip
Flush the output writer in case of SSE transport as well (#11955)
Change-Id: Id0d82eabab63681b9d01c0312588fdfe1659860f
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/communication/PushHandler.java2
1 files changed, 1 insertions, 1 deletions
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;