You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/09/21 15:57:25 UTC
[dubbo] branch master updated: [master] Remove useless code. (#8858)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 47053e5 [master] Remove useless code. (#8858)
47053e5 is described below
commit 47053e5a41e5d4610e2c71994031d1502b7928ce
Author: candy <35...@users.noreply.github.com>
AuthorDate: Tue Sep 21 23:57:16 2021 +0800
[master] Remove useless code. (#8858)
---
.../java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java
index 877f2ca..3319224 100644
--- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java
+++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java
@@ -493,8 +493,6 @@ public class ExchangeCodec extends TelnetCodec {
if ((flag & FLAG_EVENT) != 0) {
res.setEvent(true);
}
- // get status.
- byte status = header[3];
res.setStatus(Response.CLIENT_ERROR);
String errorMsg = "Data length too large: " + size + ", max payload: " + payload + ", channel: " + channel;
logger.error(errorMsg);