This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 1908a38 delete duplicate code (#9356)
1908a38 is described below
commit 1908a38d061f7f634a7f4ca4912a8a1f0968a852
Author: shy <[email protected]>
AuthorDate: Mon Dec 6 13:31:23 2021 +0800
delete duplicate code (#9356)
---
.../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 87d84fb..44cd564 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
@@ -118,8 +118,6 @@ public class ExchangeCodec extends TelnetCodec {
return obj;
}
- checkPayload(channel, len);
-
int tt = len + HEADER_LENGTH;
if (readable < tt) {
return DecodeResult.NEED_MORE_INPUT;