Commit Graph

328 Commits

Author SHA1 Message Date
Michael Jerris 58d02f98a6 quiet down some verbose debug logging 2015-05-28 12:47:27 -05:00
Anthony Minessale 5a96512345 FS-7305 #resolve 2015-03-06 16:44:53 -06:00
Dušan Dragić 1c16d5d8b0 FS-7121 change switch_events_match() to use strcmp
Use strcmp() in place of strstr() so switch_events_match() matches
only full event subclass name.
2015-01-03 22:56:19 +01:00
Anthony Minessale a03963fb92 fold livetables into verto obj and expose moderator mode 2014-07-12 03:27:08 +05:00
Anthony Minessale ffa09cd1e7 various verto cleanups and fix a race in double event delivery thread creation 2014-06-20 19:21:56 +05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 87751f9eaf FS-5036 --resolve 2013-12-13 23:13:56 +05:00
Anthony Minessale 4a8e9d634d add ref counter to la 2013-11-01 02:22:11 +05:00
William King e0054af96f Fixing a use after free 2013-10-17 22:27:34 -07:00
Jeff Lenk 4819ee18ab windows compiler warning 2013-10-16 21:47:09 -05:00
Anthony Minessale 2ffe831206 refactor and add more plumbing 2013-10-17 03:58:09 +05:00
Anthony Minessale b694cb09a6 google changed something in DTLS 2013-10-17 03:58:09 +05:00
Anthony Minessale 4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Anthony Minessale 5e43037fc6 change default to use event dispatch 2013-10-01 20:10:24 +05:00
Anthony Minessale d1c58a8e24 move thread launch to be after config check for back-compat mode in event handler 2013-09-23 21:59:01 -05:00
Anthony Minessale a5f2176ea4 deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way 2013-09-05 03:42:40 +05:00
Anthony Minessale 73646cbaa8 FS-5737 reapply 2013-08-29 22:21:10 +05:00
Anthony Minessale 2e2e4caa45 FS-5737 revert 2013-08-29 22:20:00 +05:00
Anthony Minessale 0d26dbb318 FS-5737 --resolve 2013-08-29 21:03:01 +05:00
Anthony Minessale 76ba6a2342 FS-5737 --resolve 2013-08-28 23:26:07 +05:00
Raymond Chandler 863e6cfa3f FS-2731 significantly reworked version of Emmanuel's patch to allow subscribing and notifying for the as-feature-event events. we still need a module to handle the FS events for this automatically... coming soon to a repository near you 2013-08-23 15:54:49 -04:00
Anthony Minessale 30d5ecf9f7 FS-5445 --resolve this was actually just missing one word from the code as seen in the similar code in the core, the same mistake was made there where the compiler is not smart enough to see the mutually exclusive logical paths this code is specific to spontaneously creating an array in a single set like set foo[12]=val which would be totally broken if that line were commented 2013-07-10 10:26:08 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King 97918f473b Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise. 2013-06-12 17:11:36 -07:00
Anthony Minessale 4240526ce3 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:20:11 -05:00
William King db0d03532d Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:06:01 -07:00
William King acf9a72e3f This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:37 -07:00
William King e2ea6e58c8 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:55 -07:00
Anthony Minessale 61ca331a28 FS-4928 2012-12-11 14:05:03 -06:00
Anthony Minessale ddd6382280 FS-4887 --resolve 2012-11-29 11:00:43 -06:00
Anthony Minessale 55eb2c5ccf fix issue where max event threads would always launch as soon as you only needed one more 2012-11-15 17:58:40 -06:00
Anthony Minessale 7cb8d4dbb0 fix mutex to work better 2012-11-13 17:56:31 -06:00
Anthony Minessale f60962ae87 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 12:10:50 -06:00
Anthony Minessale 3099445a95 add originated_legs and originate_causes to A leg when present in an originate to detail the B leg data 2012-10-18 13:22:52 -04:00
Anthony Minessale 4789c5f549 FS-4715 --resolve 2012-10-15 12:48:03 -04:00
Seven Du ff7def219f fix build: format not a string literal and no format arguments 2012-10-12 09:16:02 +08:00
Anthony Minessale b4c621530f add some convenience for db stuff 2012-10-11 13:47:06 -05:00
Anthony Minessale 464155c5cd more priority tweaks 2012-10-01 10:20:48 -05:00
Anthony Minessale 8733a2c895 some priority queuing tweaks for performance 2012-10-01 11:47:26 -05:00
Anthony Minessale 3b660a06e5 fix small leak in var arrays 2012-09-14 17:07:55 -05:00
Anthony Minessale d5e5fb032a add funcs to binary seralize/deserialize switch_events into a contiguous binary frame 2012-09-13 17:46:28 -05:00
Anthony Minessale d38b905606 remove debug 2012-08-22 17:49:42 -05:00
Anthony Minessale 142c051d68 cache session threads and reuse them if possible 2012-08-21 00:14:50 -05:00
Anthony Minessale 293429f78d add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion 2012-07-27 18:53:04 -05:00
Anthony Minessale 2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Anthony Minessale 7ec8fb43d4 add initial-event-threads to switch.conf.xml 2012-06-29 11:39:49 -05:00
Anthony Minessale 1cfd145c17 add support for variable expander to recognize 717 vars as specificly globals 2012-05-24 13:07:26 -05:00