Browse Source

Flush the output writer in case of SSE transport as well (#11955)

Change-Id: Id0d82eabab63681b9d01c0312588fdfe1659860f
tags/7.1.0
Johannes Dahlström 11 years ago
parent
commit
29fcadc569
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/src/com/vaadin/server/communication/PushHandler.java

+ 1
- 1
server/src/com/vaadin/server/communication/PushHandler.java View File

@@ -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;

Loading…
Cancel
Save