leizhiyuan commented on code in PR #7862: URL: https://github.com/apache/rocketmq/pull/7862#discussion_r1510416474
########## proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java: ########## @@ -134,14 +136,14 @@ public ProxyAndTlsProtocolHandler(GrpcHttp2ConnectionHandler grpcHandler) { protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) { try { ProtocolDetectionResult<HAProxyProtocolVersion> ha = HAProxyMessageDecoder.detectProtocol( - in); + in); if (ha.state() == ProtocolDetectionState.NEEDS_MORE_DATA) { return; } if (ha.state() == ProtocolDetectionState.DETECTED) { ctx.pipeline().addAfter(ctx.name(), HA_PROXY_DECODER, new HAProxyMessageDecoder()) - .addAfter(HA_PROXY_DECODER, HA_PROXY_HANDLER, new HAProxyMessageHandler()) Review Comment: revert了一些 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org