]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager: Terminate session on write error.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 25 Apr 2022 23:39:10 +0000 (20:39 -0300)
committerKevin Harwell <kharwell@digium.com>
Tue, 26 Apr 2022 20:37:09 +0000 (15:37 -0500)
commitf6062b17cc69c0a8964dc12fd9cec4af60ddb04a
tree1728cff7414264d4db7d5a30bef15b5bf283d033
parente9355e66d19327bb5dbe431c23ea679df6e4eebf
manager: Terminate session on write error.

On a write error to an AMI session a flag was set to
indicate that the write error had occurred, with the
expected result being that the session be terminated.
This was not actually happening and instead writing
would continue to be attempted.

This change adds a check for the write error and causes
the session to actually terminate.

ASTERISK-29948

Change-Id: Icaf5d413d4c0d5dc78292a17287fecc8720a31a5
main/manager.c