Skip to content

Fix MQTTProxyProtocolMethodProcessor processPingReq not respond bug#1814

Merged
Technoboy- merged 1 commit into
streamnative:masterfrom
oneby-wang:proxy_ping_resp_bug_fix
Oct 17, 2025
Merged

Fix MQTTProxyProtocolMethodProcessor processPingReq not respond bug#1814
Technoboy- merged 1 commit into
streamnative:masterfrom
oneby-wang:proxy_ping_resp_bug_fix

Conversation

@oneby-wang
Copy link
Copy Markdown
Contributor

@oneby-wang oneby-wang commented Sep 8, 2025

Motivation

If a mqtt client connects mop without sending any message or subscribing any topic, the mqtt client will get keep-alive timeout error due to Proxy not send any pingResp to the client.

Modifications

Send a pingResp even when topicBrokers is empty.

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 8, 2025

@oneby-wang:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@Technoboy- Technoboy- closed this Oct 17, 2025
@Technoboy- Technoboy- reopened this Oct 17, 2025
@Technoboy- Technoboy- merged commit dda9ee1 into streamnative:master Oct 17, 2025
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants