Permalink
Browse files

#8 No, eventsource is not a polling transport.

  • Loading branch information...
1 parent f4685b7 commit 0436c14d90fc5aa1f403627cbb04bce9d4856e79 @majek majek committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sockjs_filters.erl
View
@@ -160,7 +160,7 @@ iframe(Req, Headers, _Server, _SessionId) ->
eventsource(Req, Headers, _Server, SessionId) ->
Req1 = headers(Req, Headers, "text/event-stream; charset=UTF-8"),
chunk(Req1, <<$\r, $\n>>),
- reply_loop(Req1, SessionId, true, fun fmt_eventsource/1).
+ reply_loop(Req1, SessionId, false, fun fmt_eventsource/1).
htmlfile(Req, Headers, _Server, SessionId) ->
S = fun (CB) ->

0 comments on commit 0436c14

Please sign in to comment.