This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch free_direct_byte_buffer
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/free_direct_byte_buffer by
this push:
new f8b5b4bac3 fix #7552
f8b5b4bac3 is described below
commit f8b5b4bac3111a8832453e5167905e071b95e603
Author: Li Zhanhui <[email protected]>
AuthorDate: Fri Nov 10 17:56:07 2023 +0800
fix #7552
Signed-off-by: Li Zhanhui <[email protected]>
---
.../org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java
b/proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java
index 915cafcd57..7bf4a16982 100644
---
a/proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java
+++
b/proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java
@@ -32,6 +32,7 @@ public class LocalRemotingCommand extends RemotingCommand {
cmd.writeCustomHeader(customHeader);
cmd.setExtFields(new HashMap<>());
setCmdVersion(cmd);
+ cmd.makeCustomHeaderToNet();
return cmd;
}