]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_audiosocket.c: Add retry mechanism for reading data from AudioSocket
authorSven Kube <mail@sven-kube.de>
Tue, 13 May 2025 14:01:32 +0000 (16:01 +0200)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 26 Jun 2025 18:15:04 +0000 (12:15 -0600)
commit76d20593938aa47dc47fd06f822db25d130288c3
tree7af957f18a906f53eba54de33a4327a19afb9802
parent0c9f0cddbf8978a54baa8fa06d217270a77d9532
res_audiosocket.c: Add retry mechanism for reading data from AudioSocket

The added retry mechanism addresses an issue that arises when fragmented TCP
packets are received, each containing only a portion of an AudioSocket packet.
This situation can occur if the external service sending the AudioSocket data
has Nagle's algorithm enabled.

(cherry picked from commit 0f414f6a9444010daf7986bfd9739a63e6e2be96)
res/res_audiosocket.c