Commit Graph

314 Commits

Author SHA1 Message Date
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
Jeff Lenk e32b90306e build warnings 2012-05-18 11:08:15 -05:00
Anthony Minessale bbdcd33bde performance tweaks for sip message parsing and event system 2012-05-17 20:10:53 -05:00
Anthony Minessale 5c75d4cf5b FS-4220 --resolve i refactored this into a general cross platform function and use it everywhere else we try to set affinity 2012-05-15 08:31:42 -05:00
Anthony Minessale e54ab070f4 put presence-data in events 2012-05-10 12:15:30 -05:00
Anthony Minessale 5190bd0849 FS-4186 --resolve 2012-05-04 08:25:48 -05:00
Anthony Minessale fd9486f0ed remove 2012-05-04 07:42:49 -05:00
Jeff Lenk 1b399d3cf2 FS-4184 --resolve 2012-05-04 08:44:38 -05:00
Anthony Minessale 8664dc6d5a some perfomance tweaks 2012-05-03 16:31:21 -05:00
Anthony Minessale 54af0dcfe2 regression from 385a92cec7 2012-04-18 19:02:06 -05:00
Anthony Minessale 1c70afabdd regression from 385a92cec7 2012-04-18 19:00:37 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale ca27465020 FS-4104 --resolve 2012-04-12 09:53:53 -05:00
Anthony Minessale f9b3266720 endless recursion loop protection to go with new recursive variable expansion feature 2012-04-12 07:23:08 -05:00
Anthony Minessale 385a92cec7 add origination_nested_vars=true to allow vars within vars in originate strings e.g. [originate {origination_nested_vars=true,TEST=,var=,recur=W00t}user/1004 3000] will end up as w00t 2012-04-11 15:30:37 -05:00