asterisk/channels
ktyerman e1908ea484 chan_iax2: better handling for timeout and EINTR
The iax2 module is not handling timeout and EINTR case properly. Mainly when
there is an interupt to the kernel thread. In case of ast_io_wait recieves a
signal, or timeout it can be an error or return 0 which eventually escapes the
thread loop, so that it cant recieve any data. This then causes the modules
receive queue to build up on the kernel and stop any communications via iax in
asterisk.

The proposed patch is for the iax module, so that timeout and EINTR does not
exit the thread.

ASTERISK-27705
Reported-by: Kirsty Tyerman

Change-Id: Ib4c32562f69335869adc1783608e940c3535fbfb
2018-06-13 16:47:02 -06:00
..
dahdi Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
iax2 Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
misdn Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
pjsip res_pjsip.c: Split ast_sip_push_task_synchronous() to fit expectations. 2018-04-12 17:34:16 -05:00
sip Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
Makefile Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
chan_alsa.c BuildSystem: Enable Advanced Linux Sound Architecture (ALSA) in NetBSD. 2018-03-16 16:04:26 +01:00
chan_bridge_media.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_console.c chan_console: don't read and write at the same time 2018-02-03 09:41:07 -05:00
chan_dahdi.c Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
chan_dahdi.h chan_dahdi: Configurable dialed digit timeouts 2018-05-03 10:34:12 -05:00
chan_iax2.c chan_iax2: better handling for timeout and EINTR 2018-06-13 16:47:02 -06:00
chan_mgcp.c loader: Add dependency fields to module structures. 2018-01-15 13:25:51 -05:00
chan_misdn.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_motif.c loader: Add dependency fields to module structures. 2018-01-15 13:25:51 -05:00
chan_nbs.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
chan_oss.c BuildSystem: Add DragonFly BSD. 2018-04-20 12:50:03 +02:00
chan_phone.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
chan_phone.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
chan_pjsip.c chan_pjsip: Register for "BEFORE_MEDIA" responses 2018-06-07 08:31:45 -06:00
chan_rtp.c loader: Add dependency fields to module structures. 2018-01-15 13:25:51 -05:00
chan_sip.c Merge "netsock2: Add ast_sockaddr_resolve_first_af to netsock2 public API" 2018-05-23 12:10:13 -05:00
chan_skinny.c Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
chan_unistim.c chan_unistim: NetBSD has an incompatible struct in_pktinfo. 2018-03-03 16:06:13 +01:00
chan_vpb.cc chan_vpb: Avoid GNU old-style field designator extension. 2018-04-17 12:41:40 +02:00
console_board.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
console_gui.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
console_video.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
console_video.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
misdn_config.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
sig_analog.c chan_dahdi: Configurable dialed digit timeouts 2018-05-03 10:34:12 -05:00
sig_analog.h chan_dahdi: Configurable dialed digit timeouts 2018-05-03 10:34:12 -05:00
sig_pri.c build: A few gcc 7 error fixes 2017-09-25 07:32:14 -05:00
sig_pri.h build: A few gcc 7 error fixes 2017-09-25 07:32:14 -05:00
sig_ss7.c Logger: Convert 'struct ast_callid' to unsigned int. 2015-03-13 01:12:35 +00:00
sig_ss7.h chan_dahdi: Adds support for major update to libss7. 2014-06-16 18:27:51 +00:00
vcodecs.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
vgrabbers.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00