Commit Graph

186 Commits

Author SHA1 Message Date
Anthony Minessale 163fffb3e8 fix issue with threaded ivrd, forking is back by default but threaded can be chosen with -t; in both modes the fd number is not passed as the first arg to the program but in threaded mode the stdin will no longer be mapped to the socket you will have to get the first command line arg instead of fileno stdin 2012-05-03 13:13:48 -05:00
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Anthony Minessale a40f304990 ESL-45 --resolve 2012-04-10 16:11:36 -05:00
Anthony Minessale c41a16d4da shutdown socket before closing to avoid blocking 2012-04-05 14:28:01 -05:00
Jeff Lenk da36d1f57f FS-3953 --resolve 2012-02-28 08:38:45 -06:00
Anthony Minessale 23645b6af2 comment assert for windows 2012-02-27 16:49:12 -06:00
Jeff Lenk 24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Anthony Minessale dfb2dfd29e umm ya, the thread stack size is in bytes not kbytes 2011-12-20 17:14:38 -06:00
Anthony Minessale 0a8e6129d8 change default stacksize 2011-12-20 10:37:15 -06:00
Stefan Knoblich cc083ccddb [libesl] Make sure esl event buffer array subscript ist within bounds [0, sizeof(buffer)-1].
cc1: warnings being treated as errors
  libs/esl/src/esl.c: In function "esl_recv_event":
  libs/esl/src/esl.c:1190: error: array subscript is above array bounds
  libs/esl/src/esl.c:1227: error: array subscript is above array bounds

Clamp handle_recv() return value to safe values.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-12-19 20:39:51 +01:00
Marc Olivier Chouinard 442f4d2522 FS-3766 --resolve 2011-12-16 07:35:05 -05:00
Marc Olivier Chouinard 58ccbe567c ESL-58 --resolve
Please Windows user test this one out.
2011-12-15 23:02:10 -05:00
Anthony Minessale d05dcaaade ok, windows... you missed the real err but you are still crying about this other one =/ 2011-12-14 14:47:51 -06:00
Anthony Minessale 70a4ebd3fb sorry windows... 2011-12-14 14:38:00 -06:00
Anthony Minessale f7f9a43a40 use threading in testserver and ivrd 2011-12-14 12:16:09 -06:00
Jeff Lenk 34827a892c fix fs_cli for windows after recent changes - may need more work 2011-09-26 09:15:12 -05:00
Anthony Minessale 7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Jeff Lenk 482b319512 FS-3544 --resolve 2011-09-06 21:27:13 -05:00
Anthony Minessale 1c775c3bf0 finish up last commit 2011-09-06 15:07:51 -05:00
Anthony Minessale 2ae688a33b add sendmsg function to esl 2011-09-06 14:53:38 -05:00
Anthony Minessale e420e17f84 FS-3386 Jeff Lenk found this one, Good Catch! 2011-07-08 12:52:18 -05:00
Anthony Minessale 37064511e4 fix bug from the *cough* FRICKING MAILING LIST WHERE IT SHOULD NOT HAVE BEEN REPORTED FROM *cough* 2011-05-31 09:53:39 -05:00
Mathieu Rene 9d756ecc77 FS-3320 --resolve 2011-05-27 12:24:48 -04:00
Anthony Minessale ffa0a07198 add array manipulation to the wraper code 2011-05-26 12:18:18 -05:00
Jeff Lenk 4cd07bc241 fix code analysis warnings - this time while awake 2011-05-26 11:32:07 -05:00
Anthony Minessale 7fb6fb3076 doh merge conflict put back changes 2011-05-26 10:04:15 -05:00
Anthony Minessale c080fb15d9 update on array patch 2011-05-26 10:00:06 -05:00
Mathieu Rene ea38df0aed missed one 2011-05-26 10:52:41 -04:00
Jeff Lenk 6648a4c79e doh this is stupid 2011-05-26 09:50:07 -05:00
Jeff Lenk 140810df78 fix code analysis vs2010 pre sp1 2011-05-26 09:05:12 -05:00
Jeff Lenk 55c24567bd fix windows code analysis problems 2011-05-25 23:51:48 -05:00
Anthony Minessale c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Jeff Lenk 0cde6bc039 code analysis warnings fix and acknowledge stack usage warning 2011-03-27 12:09:10 -05:00
Anthony Minessale 9795dd2f0a fix finicky build 2011-03-26 11:07:34 -05:00
Anthony Minessale ae595cd529 use poll instead of select in ESL client lib because select is not your friend.... 2011-03-26 10:59:55 -05:00
Anthony Minessale e8474d602d ESL-57 2011-03-10 00:33:43 -06:00
Anthony Minessale 0444626b72 fix linger support in esl client lib 2011-02-25 16:13:24 -06:00
Anthony Minessale bc397ab600 FS-2971 2011-02-25 10:55:47 -06:00
Anthony Minessale e96acac3c8 add optional job-uuid param to bgapi in oop mod 2011-02-24 17:48:51 -06:00
Anthony Minessale e8a1055854 ESL-56 null terminate buffer after reading from the socket to prevent cross-over to old data that confuses the parser and throws off framing. (regression from 2081bf97b9) 2011-02-22 17:07:18 -06:00
Joao Mesquita eb88304a16 Small fix on ESL that cause event_id to be set wrong on headers that had value failure. 2011-01-12 16:24:04 -03:00
Jeff Lenk 1aa6bc6eec fix assert with standard code analysis macro 2011-01-05 09:59:14 -06:00
Jeff Lenk 5254df0466 FS-2957 esl lib on windows fails to build 2011-01-04 22:57:49 -06:00
Jeff Lenk 7b1de56baa vs2010 fix build 2010-12-16 14:24:54 -06:00
Jeff Lenk dcce6bb510 vs2010 fix build 2010-12-16 13:52:46 -06:00
Jeff Lenk dfdf4e1e23 windows fix for last esl commit 2010-12-16 12:27:55 -06:00
Anthony Minessale 526436fd1f doh 2010-12-16 11:58:18 -06:00
Anthony Minessale 2081bf97b9 use a packet buffer for ESL 2010-12-16 11:33:38 -06:00
Jeff Lenk a15f51d577 ESL-37 [patch] Make last_event pointer last longer 2010-12-09 09:22:17 -06:00