Skip to content

Companion: preserve queued messages when host writes fail - #3897

Open
cryptomaxsun wants to merge 1 commit into
meshcore-dev:devfrom
cryptomaxsun:fix/companion-preserve-queued-messages
Open

cryptomaxsun wants to merge 1 commit into
meshcore-dev:devfrom
cryptomaxsun:fix/companion-preserve-queued-messages

Conversation

@cryptomaxsun

Copy link
Copy Markdown

Keep the head of the Companion offline queue until the transport that requested it accepts the complete frame. A full or disconnected transport can then retry without skipping a message. Direct the sync response to the requesting interface so an unrelated transport cannot affect dequeueing.

Regression scenario: reject a sync response, retry from that client, and verify it receives the same message before the next one.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant