]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: in case of tcp/tls, be less annoying about tx errors.
authorJaco Kroon <jaco@uls.co.za>
Wed, 4 Dec 2019 14:35:35 +0000 (16:35 +0200)
committerJaco Kroon <jaco@uls.co.za>
Sat, 7 Dec 2019 12:07:21 +0000 (14:07 +0200)
commit365d007eb6f8325bb25e2d20f35cd843422d3dc8
treea47a08fdcd20e6e15d8f102389ea7566480b63b6
parent2a6a2800e797116d4c50901f31dae90284308d6e
chan_sip:  in case of tcp/tls, be less annoying about tx errors.

chan_sip.c:3782 __sip_xmit: sip_xmit of 0x7f1478069230 (len 600) to
213.150.203.60:1492 returned -2: Interrupted system call

returned -2 implies this wasn't actually an OS error, so errno makes no
sense either.  Internal error was already logged higher up, and -2
generally means that either there isn't a valid connection available, or
the pipe notification failed, and that is already correctly logged.

ASTERISK-28651 #close

Change-Id: I46eb82924beeff9dfd86fa6c7eb87d2651b950f2
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
channels/chan_sip.c