Ignore sockjs heartbeats
This commit is contained in:
parent
6e93763d6b
commit
d7cd45fdaf
|
|
@ -75,7 +75,9 @@ sjs_recv(WS) ->
|
|||
{ok, stomp:unmarshal(StompFrame)};
|
||||
<<"c", JsonArr/binary>> ->
|
||||
{ok, CloseReason} = sockjs_json:decode(JsonArr),
|
||||
{close, CloseReason}
|
||||
{close, CloseReason};
|
||||
<<"h">> ->
|
||||
sjs_recv(WS)
|
||||
end.
|
||||
|
||||
pubsub(Config) ->
|
||||
|
|
|
|||
Loading…
Reference in New Issue