]> 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)
committerSven Kube <mail@sven-kube.de>
Tue, 20 May 2025 13:22:56 +0000 (13:22 +0000)
commit787c8f647cd12dceb48f3ca02fe5c7f905e2fd98
tree02ed065dd2161dfd3fa04853fa4760982984b0c7
parentf8b70a97aa3589d9807e7bb7e545a22457a93e10
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.
res/res_audiosocket.c