Commit Graph

494 Commits

Author SHA1 Message Date
Moises Silva 3eb27f970d Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
2014-02-01 01:40:45 +05:00
Anthony Minessale 47992ab5f0 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:27:06 +05:00
Anthony Minessale 03e59c3efa FS-5653 --resolve 2014-01-07 00:39:19 +05:00
Michael Jerris 5bb1593798 .gitignore 2013-12-23 17:26:12 -05:00
Jeff Lenk 3687892e91 FS-6010 VS2013 build changes 2013-12-21 16:50:09 -06:00
Anthony Minessale eed2a7aa86 fix regression from recent refactor that causes infinite loop on unexpected disconnect 2013-11-22 04:53:49 +05:00
Jeff Lenk 86c63fb41d fix windows esl compile 2013-11-13 19:36:49 -06:00
Anthony Minessale 14b1656c8c doh 2013-11-14 01:49:06 +05:00
Anthony Minessale dfb5867766 fix build err 2013-11-14 01:38:10 +05:00
Anthony Minessale 9284a16237 cleanup ESL a little 2013-11-14 00:43:36 +05:00
Anthony Minessale ea3aa83fd6 remove condition for mem leak 2013-11-12 12:33:44 -06:00
Ken Rice a9330e6b8c --resolve ESL-72 fix const char* vs char* issue in swig 2013-09-20 15:26:09 -05:00
Anthony Minessale 0b3139301d update cc header 2013-09-18 05:21:11 +05:00
Anthony Minessale e4ab113aae FS-5617 --resolve 2013-07-19 13:29:24 -05:00
Anthony Minessale 0505879846 FS-5575 --resolve 2013-07-12 14:06:29 -05:00
Jeff Lenk ca73adbea0 FS-5588 --resolve windows compiler fixes 2013-07-09 07:59:41 -05:00
Ken Rice 2fd21a47b1 FS-2816 --resolve 2013-07-06 22:03:44 -05:00
Nathan Neulinger 543dc3caea make noexpandtab explicit in all vim modelines other than xml files
Conflicts:
	src/include/switch_core_media.h
	src/mod/endpoints/mod_sofia/sofia_media.c
	src/switch_core_media.c
2013-06-25 09:39:37 -05:00
Jeff Lenk b1e296b948 another esl managed tweak 2013-06-07 07:26:24 +00:00
Jeff Lenk 230cea6982 tweak windows esl managed - removing mixed mode and any from the solution - this should remove some of the ambiguity around building 2013-06-07 07:26:24 +00:00
Jeff Lenk 26ca852eb0 FS-5167 fix 2010 dependency 2013-06-07 07:26:19 +00:00
Jeff Lenk 270c47a0a5 FS-5167 fs_cli update dependency 2013-06-07 07:26:15 +00:00
Jeff Lenk b3fc9067d4 FS-5167 2013-06-07 07:26:15 +00:00
Jeff Lenk 5d77546bd5 FS-5167 add version stuff to vs2010 2013-06-07 07:26:13 +00:00
Jeff Lenk ec44f6aec0 FS-5167 2013-06-07 07:26:11 +00:00
Stefan Knoblich 4ed7cd977a esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00
Stefan Knoblich a573be11a1 ivrd: fflush() stdout before entering esl_listen()
Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00
Anthony Minessale 50b68f2f85 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:19:53 -05:00
Travis Cross 5e7485ff20 Avoid dereferencing potential null value 2013-05-29 02:52:13 +00:00
Travis Cross 9ce4be3daa Remove assignment without effect 2013-05-29 02:52:05 +00:00
Travis Cross ca9d806042 Avoid dereferencing potential null value 2013-05-29 02:51:57 +00:00
Travis Cross 83e33bb399 Handle potential malloc failure better 2013-05-29 02:51:51 +00:00
Travis Cross 58e48416be Add missing text editor local variable blocks 2013-05-29 02:50:03 +00:00
Travis Cross 00769c458f Fix unlikely memory leak in ESL 2013-05-29 02:48:59 +00:00
Travis Cross 800fe2a970 Remove assignment without effect in fs_cli 2013-05-29 02:48:50 +00:00
Travis Cross 987f76d379 Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-29 02:48:33 +00:00
Travis Cross f07e58d30f Handle a failure of strerror_r
This fixes the build on gcc-4.7.3.  The build was breaking with:

  error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 21:44:16 +00:00
William King 898a487443 Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used. 2013-05-18 20:42:35 -07:00
William King 4192bf3370 Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now. 2013-05-18 20:15:14 -07:00
Anthony Minessale 61c65b47ca FS-5271 --resolve 2013-04-08 12:53:29 -05:00
Jeff Lenk 16a7014284 add more missing vs2012 project filters 2013-02-27 22:34:16 -06:00
Anthony Minessale bd25514307 add FS_CLI_COLOR=false env and -n/--no-color command line flag to turn off colored banner 2013-02-20 13:51:53 -06:00
Ken Rice 9c975033a7 FS-4844 --resolve 2013-02-07 13:16:19 -06:00
Jeff Lenk 70a9560306 add windows vs2012 esl project and solution 2013-02-04 18:31:28 -06:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Jeff Lenk c7e8dce247 FS-4828 --resolve 2012-11-17 21:38:07 -06:00
Ken Rice 3c249b012e FS-4003 --resolve add IPv6 support to ESL client library, thanks to Steven Ayre 2012-11-01 22:39:16 +00:00
Anthony Minessale 50cd5c28f5 add originated_legs and originate_causes to A leg when present in an originate to detail the B leg data 2012-10-18 13:23:05 -04:00
Jeff Lenk 77eabbbdf7 FS-4694 --resolve 2012-10-17 09:17:16 -05:00
Anthony Minessale c51aebf621 FS-4694 --resolve 2012-10-16 19:03:29 -04:00