Skip to content

Fix possible packet loss #30701

Open
giorka wants to merge 1 commit into
telegramdesktop:devfrom
giorka:patch-1
Open

Fix possible packet loss #30701
giorka wants to merge 1 commit into
telegramdesktop:devfrom
giorka:patch-1

Conversation

@giorka
Copy link
Copy Markdown

@giorka giorka commented May 16, 2026

This fixes a possible outbound E2E packet loss issue in Call::checkForOutboundMessages().

Previously, only the last message returned by call_pull_outbound_messages() was forwarded:

result.value().back()

However, the API returns a collection of outbound messages, so multiple pending packets could be dropped if more than one message was queued between polls.

The updated implementation forwards all outbound messages in order instead of only the last one.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 16, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants