Explorar o código

chore: update changes

JianBo He %!s(int64=2) %!d(string=hai) anos
pai
achega
26ad06b9ca

+ 5 - 0
apps/emqx_gateway_stomp/test/emqx_stomp_SUITE.erl

@@ -1088,6 +1088,11 @@ parse(Data) ->
     Parser = emqx_stomp_frame:initial_parse_state(ProtoEnv),
     emqx_stomp_frame:parse(Data, Parser).
 
+get_field(command, #stomp_frame{command = Command}) ->
+    Command;
+get_field(body, #stomp_frame{body = Body}) ->
+    Body.
+
 send_connection_frame(Sock, Username, Password) ->
     send_connection_frame(Sock, Username, Password, <<"0,0">>).
 

+ 5 - 0
changes/ce/fix-11018.en.md

@@ -0,0 +1,5 @@
+Fixed multiple issues with the Stomp gateway, including:
+- Fixed an issue where `is_superuser` was not working correctly.
+- Fixed an issue where the mountpoint was not being removed in message delivery.
+- After a message or subscription request fails, the Stomp client should be disconnected
+  immediately after replying with an ERROR message.