[rabbitmq-discuss] STOMP Frame

Dan Di Spaltro dan.dispaltro at gmail.com
Thu Feb 12 09:36:14 GMT 2009


Hi RabbitMQ Folks,

I noticed that at the end of the STOMP frame you only have a null
character when the reference implementation looks to have a null
followed by a \n character.  Am I misinterpreting this, because the
documentation doesn't seem to say anything about a null followed by a
return.  Is this an issue for anyone else?


diff -r 41ccb4722952 src/stomp_frame.erl
--- a/src/stomp_frame.erl       Thu Dec 11 22:54:37 2008 +0000
+++ b/src/stomp_frame.erl       Thu Feb 12 01:30:58 2009 -0800
@@ -219,7 +219,8 @@
      end,
      $\n,
      Body,
-     0].
+     0,
+     $\n].

 serialize_header({K, V}) when is_integer(V) ->
     [K, $:, integer_to_list(V), $\n];


-- 
Dan Di Spaltro




More information about the rabbitmq-discuss mailing list