minor - change to output valid html comment as the dummy message for streaming server push.

This commit is contained in:
Heng Sin Low 2012-06-20 16:12:33 +08:00
parent a6e7659595
commit da5bf47a52
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class AtmosphereServerPush implements ServerPush {
break; break;
case WEBSOCKET : case WEBSOCKET :
case STREAMING: case STREAMING:
resource.getResponse().getWriter().write("@"); resource.getResponse().getWriter().write("<!-- dummy -->");
resource.getResponse().getWriter().flush(); resource.getResponse().getWriter().flush();
break; break;
} }