You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "dingshuangxi888 (via GitHub)" <gi...@apache.org> on 2023/07/10 12:32:21 UTC

[GitHub] [rocketmq] dingshuangxi888 opened a new issue, #7010: [Bug] The HandshakeHandler return when detect haproxy version need more data

dingshuangxi888 opened a new issue, #7010:
URL: https://github.com/apache/rocketmq/issues/7010

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions)  of this repository and believe that this is not a duplicate.
   
   - [X] 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
   ![image](https://github.com/apache/rocketmq/assets/5010921/c74b063a-5c8d-4016-9b3c-3d8de6fcda86)
   
   
   ### Steps to Reproduce
   
   1. The server starts with haproxy;
   2. add dubug message before return line.
   3. start a large number of clients.
   
   
   ### 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_


-- 
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-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] drpmma closed issue #7010: [Bug] The HandshakeHandler return when detect haproxy version need more data

Posted by "drpmma (via GitHub)" <gi...@apache.org>.
drpmma closed issue #7010: [Bug] The HandshakeHandler return when detect haproxy version need more data
URL: https://github.com/apache/rocketmq/issues/7010


-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org