[rabbitmq-discuss] STOMP plugin and virtual hosts

Lionel Cons lionel.cons at cern.ch
Tue Jul 26 09:19:59 BST 2011


I'm not fluent in Erlang but it seems that there is a bug in the STOMP
plugin code dealing with heart-beats. The code contains:

  ensure_heartbeats(...) -> ...
    catch rabbit_net:send(Sock, <<0>>)

The STOMP 1.1 spec states that newlines (not nulls) can be used for
heart-beats. Shouldn't it be <<10>> instead of <<0>>?

Cheers,

Lionel Cons


More information about the rabbitmq-discuss mailing list