Commit Graph

7709 Commits

Author SHA1 Message Date
Shane Bryldt 222780795d FS-10167: Updates to previous overhaul commit to get everything building right under linux 2017-05-22 12:02:04 -05:00
Shane Bryldt 9fa52c742e FS-10167: Significant overhaul to libblade and it's operations to match the first layer required by the blade protocol, still more work to be done but nodes can connect to router nodes and get initial identities registered based on realms configured for the master router node. 2017-05-22 10:31:50 -06:00
Mike Jerris b12bbbc98f Merge pull request #1269 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10293-patchish-freetdm-audio-in-1-direction to master
* commit 'dabab9f25aa8b78676cb74b6efd93b0005c2de1d':
  FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls
2017-05-10 16:14:29 +00:00
Anthony Minessale 99a38c5b94 add locate method 2017-05-08 16:15:13 -05:00
Anthony Minessale 175eb24765 add exclusive param 2017-05-08 16:09:18 -05:00
Marc Olivier Chouinard dabab9f25a FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls 2017-05-06 19:50:17 -04:00
Anthony Minessale 75df6bc406 add missing method 2017-05-04 12:42:20 -05:00
Anthony Minessale 65b3927f5b updates for events 2017-05-04 11:51:40 -05:00
Anthony Minessale 406de0dbf3 update 2017-05-03 18:31:04 -05:00
Anthony Minessale d2866cc538 temp docs 2017-05-03 18:22:23 -05:00
Mike Jerris a4e624bec8 Merge pull request #1211 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10108-patch-mod_freetdm-make-the-freetdm to master
* commit '119dd7e8e841b5294ae4b85b7cc028df40acc45e':
  FS-10108: mod_freetdm - Configurable FreeTDM Configuration file locations
2017-04-28 20:09:39 +00:00
Mike Jerris fde6afda4c FS-10150: fix typo 2017-04-24 12:34:40 -05:00
Mike Jerris 6a781a1e2c FS-10150: fix typo 2017-04-22 08:45:57 -04:00
Shane Bryldt 6515bc729c FS-10167: Some fixes to get the windows release build working, and fixed a mistake with asserting on executed statements which would get compiled out for release builds 2017-04-21 16:27:39 -06:00
Shane Bryldt a8a935d64f FS-10167: Temporary commit while trying to figure out why the release build of libsodium under VS won't link properly. 2017-04-21 15:43:04 -06:00
Anthony Minessale c922223541 FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets -- same fix for non-ssl sockets #resolve 2017-04-21 15:43:40 -05:00
Shane Bryldt acdf1d93db FS-10167: Updates to make stuff compile under linux again 2017-04-20 18:04:28 -05:00
Shane Bryldt 5d682abd62 FS-10167: Major updates to lifecycle management across a number of objects changing a number of architecture related areas, fixed some little bugs, too much to remember exactly 2017-04-20 16:56:08 -06:00
Shane Bryldt 2e02f3b498 FS-10167: Adjusted modules to utilize an isolated pool with auto cleanup per module, which also contains the implementation specific module data. Also changed the thread model of the listener for the wss module to utilize the thread pool, alleviating ownership issues during cleanup. 2017-04-18 17:02:34 -06:00
Shane Bryldt 21f5635037 FS-10167: Small fix, made state volatile in session and connection to prevent odd behaviour by the GCC compiler under linux 2017-04-18 15:10:34 -05:00
Shane Bryldt 2c996b592f FS-10167: Switched connection lifecycle to an isolated pool similar to sessions, also refactored the inner WSS transport implementation to be part of the same pool so it is cleaned up with the connection. Switched the connection state machine thread to also utilize thread pool to avoid direct ownership over the thread, similar to session but without the use of a signaled condition due to abstraction of transports which may need to deal with polling for socket events such as with WSS transport. Completely removed the temporary worker thread in the main handle that was for connection/session cleanup. 2017-04-18 13:41:00 -06:00
Shane Bryldt 8d4eac7f69 FS-10167: fixed a couple deadlock issues and a misconception about the locks on hash 2017-04-17 11:10:20 -06:00
Shane Bryldt 5d82a1b2e2 FS-10167: Added ks_list_delete_iterator() to delete the node at the current iterator position (only if available if iterator is active). Updated blade_session to reflect ks_list_t being internally thread-safe now. 2017-04-14 12:32:13 -06:00
Shane Bryldt f3aad1a661 FS-10167: Another small bug fix to get compiling on windows again 2017-04-14 11:05:36 -06:00
Shane Bryldt bea654eea2 FS-10167: Bug fix for libks compiling under linux 2017-04-14 12:01:38 -05:00
Shane Bryldt f5617f93d2 FS-10167: Retrofit for ks_list to be intrinsicly thread-safe with an internal reader/writer lock 2017-04-14 10:56:52 -06:00
Shane Bryldt 075cd0d179 FS-10167: Refactored simclist for ks-ification, and adjusted it for pool-based allocations and cleanup 2017-04-14 08:59:58 -06:00
Shane Bryldt 8957953741 FS-10167: Temporary commit half way through memory lifecycle changes towards isolated memory pools 2017-04-13 15:36:53 -06:00
Shane Bryldt 819847b53a FS-10167: Missing NULL assignment to alloc list during cleanup, tests run on linux. 2017-04-11 15:51:35 -05:00
Shane Bryldt ea0dc132a3 FS-10167: Rewrote the ks_pool allocator, no longer uses paging or internal block allocation, but still retains reference counting and auto cleanup callbacks, should be much more efficient now on windows than the original mmap approach, and all tests now run successfully! 2017-04-11 14:43:00 -06:00
Shane Bryldt 48d9f3aa85 FS-10167: Committing for a clean revert point prior to work on ks_pool internal allocator issues that were identified as the cause of the complicated bug related to freeing pages introduced by switching to malloc/free. 2017-04-07 21:36:23 -06:00
Anthony Minessale 80e06c214c add test to repro bug 2017-04-07 17:22:01 -05:00
Anthony Minessale 8065691b3f add test to repro bug 2017-04-07 17:21:45 -05:00
Anthony Minessale d2f96796e5 FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets 2017-04-06 17:08:54 -05:00
Anthony Minessale 014f40d0b8 FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets 2017-04-06 17:06:44 -05:00
Shane Bryldt be0e1e144b FS-10167: Fixed some issues that appeared primarily under windows testing, committing to determine if a specific read access violation occurs under linux as well. 2017-04-05 10:43:11 -06:00
Shane Bryldt dbd2ef2d8b FS-10167: Fixed sessions to cleanup external from their own state processing thread to avoid deadlocking on thread join during cleanup. 2017-04-04 12:47:14 -06:00
Shane Bryldt dd6031544a FS-10167: Fixed an issue with connection cleanup, the same approach should be taken with sessions to avoid any potential thread deadlock due to cleanup from the same thread which is running the session. 2017-04-04 12:32:01 -06:00
Shane Bryldt a5dc3e8f1f FS-10167: Fixed some issues on library destruction. Added another of the test apps for libblade under windows. Fixed console input under tests. 2017-04-04 11:00:44 -06:00
Shane Bryldt 9c61f364f0 FS-10167: Added libks testrealloc project for windows 2017-04-03 17:20:13 -06:00
Shane Bryldt 7944934d20 FS-10167: Fixed bug with ks_pool_resize allocating incorrectly based on recent allocation code changes. Added some missing files as well from prior commits related to libblade test projects and windows VS project property files. 2017-04-03 14:53:28 -06:00
Shane Bryldt 7861bb0d49 FS-10167: Added test to identify issue with ks_pool_realloc 2017-04-03 15:50:00 -05:00
Shane Bryldt 95b3011614 FS-10167: Added windows compilation of libconfig and libsodium to support libblade, all of which now have windows projects and a new libblade solution containing everything. Blade compiles, but many warnings have been disabled and should be reviewed and fixed where reasonable towards clean compiling. Code Analysis has also been enabled for visual studio projects, warnings beginning with C6XXX can be ignored unless adding code-analysis macros to libks and libblade. 2017-03-31 13:06:54 -06:00
Shane Bryldt 3bde4769cc FS-10167: Updated libks windows project and test projects to utilize the latest build toolset, and added code analysis to identify potential issues before they occur. 2017-03-30 10:44:36 -06:00
Shane Bryldt 6bce3f1022 FS-10167: Small fix to the simclist.c assertion guards after having copied the latest from the source git again in the last patch. 2017-03-29 17:31:44 -06:00
Shane Bryldt 88660290d2 FS-10167: Fix to make everything work right with linux again 2017-03-29 18:28:36 -05:00
Shane Bryldt b41a847b9d FS-10167: Fixed bug in windows test_thread_pools test related to the thread pool itself and ks_q cleanup 2017-03-29 17:22:29 -06:00
Shane Bryldt af2f257dc7 FS-10167: Added test_thread_pools to windows build, added BREAK condition to wait for objects to be added to the queue before the workers prematurely exit. Fixed a bug in thread pool creation that wasn't showing up under linux test. 2017-03-28 19:18:56 -06:00
Shane Bryldt 02c9ddd739 FS-10167: Added testacl to windows build, builds and runs under windows. Added missing testwebsock.vcxproj file that was missing on a prior commit. 2017-03-28 15:18:03 -06:00
Shane Bryldt 5713f513b6 FS-10167: Fixed small ISO C compliancy issue for windows build vs linux build of testwebsock 2017-03-28 16:07:01 -05:00