Browse files

Empty message on websocket shall be ignored.

  • Loading branch information...
1 parent fb986ad commit 2c636622f41a62df03a4ee47aa00d9bc3f37bf72 @majek majek committed Oct 18, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/sockjs_http.erl
View
2 src/sockjs_http.erl
@@ -123,6 +123,8 @@ misultin_ws_loop(Ws, Receive) ->
misultin_ws_loop0(Ws, Receive, Self) ->
receive
+ {browser, ""} ->
+ misultin_ws_loop0(Ws, Receive, Self);
{browser, Data} ->
{ok, Decoded} = sockjs_util:decode(Data),
Receive(Self, {recv, Decoded}),

0 comments on commit 2c63662

Please sign in to comment.