From aa693bb5ee4057245402dab550426c99f1341579 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Mon, 9 Mar 2026 10:11:40 -0300 Subject: [PATCH] Adding changelog entry for the SmallWebRTCConnection fix. --- changelog/3962.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/3962.fixed.md diff --git a/changelog/3962.fixed.md b/changelog/3962.fixed.md new file mode 100644 index 000000000..1d326cd05 --- /dev/null +++ b/changelog/3962.fixed.md @@ -0,0 +1 @@ +- Fixed `SmallWebRTCConnection` silently discarding messages sent before the data channel is open by queuing them and flushing once the channel is ready. A bounded queue (`MAX_MESSAGE_QUEUE_SIZE = 50`) prevents unbounded memory growth, and a 10-second timeout after connection clears the queue and falls back to discard mode if the data channel never opens.