-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] The HandshakeHandler return when detect haproxy version need more data #7010
Closed
3 tasks done
Labels
Comments
drpmma
pushed a commit
that referenced
this issue
Jul 11, 2023
…rsion need more data (#7011) * Support dynamic modification of grpc tls mode to improve the scalability of ProtocolNegotiator * Support dynamic modification of grpc tls mode to improve the scalability of ProtocolNegotiator * [ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC and Remoting server. * 回滚netty的升级 * Support proxy protocol for gRPC and Remoting server. * Support proxy protocol for gRPC and Remoting server. * Support proxy protocol for gRPC and Remoting server. * add grpc-netty-codec-haproxy in bazel * add grpc-netty-codec-haproxy in bazel * Support proxy protocol for gRPC and Remoting server. * Fix Test * add grpc-netty-codec-haproxy in bazel * add ProxyProtocolTest for Remoting * Move AttributeKey from RemotingHelper to AttributeKey. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. --------- Co-authored-by: 徒钟 <[email protected]>
lizhimins
pushed a commit
to lizhimins/rocketmq
that referenced
this issue
Jul 26, 2023
…oxy version need more data (apache#7011) * Support dynamic modification of grpc tls mode to improve the scalability of ProtocolNegotiator * Support dynamic modification of grpc tls mode to improve the scalability of ProtocolNegotiator * [ISSUE apache#6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE apache#6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE apache#6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * [ISSUE apache#6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC server. * Support proxy protocol for gRPC and Remoting server. * 回滚netty的升级 * Support proxy protocol for gRPC and Remoting server. * Support proxy protocol for gRPC and Remoting server. * Support proxy protocol for gRPC and Remoting server. * add grpc-netty-codec-haproxy in bazel * add grpc-netty-codec-haproxy in bazel * Support proxy protocol for gRPC and Remoting server. * Fix Test * add grpc-netty-codec-haproxy in bazel * add ProxyProtocolTest for Remoting * Move AttributeKey from RemotingHelper to AttributeKey. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. * Fix the needs more data for HandshakeHandler. --------- Co-authored-by: 徒钟 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Linux
RocketMQ version
develop branch
JDK Version
1.8
Describe the Bug
When detect the version for haproxy, it will return NEEDS_MORE_DATA when the buffer is small. But HandshakeHandler returns directly, causing the request to be discarded
Steps to Reproduce
What Did You Expect to See?
When the detection returns NEEDS_MORE_DATA, it will wait for more data to detect again.
What Did You See Instead?
When the detection returns NEEDS_MORE_DATA, it will wait for more data to detect again.
Additional Context
No response
The text was updated successfully, but these errors were encountered: