36 Commits

Author SHA1 Message Date
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
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
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
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
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
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
5cff01b2a8 FS-10165: Removed dependancy and autoconf check for libsodium from libks. Moved DHT, bencode, and related tests into libblade. Still requires refactoring in blade from ks_* to blade_*. 2017-03-22 17:47:33 -05:00
Shane Bryldt
7742dffae4 FS-9952: Initial implementation of a very basic text chat system which introduced a number of supporting subsystems 2017-03-22 17:42:50 -04:00
Shane Bryldt
8f569f715b FS-9952: Big commit, first registered jsonrpc echo call successful, lots of cleanup remaining 2017-03-22 17:42:50 -04:00
Shane Bryldt
fd49aebb1d FS-9952: Intermediate commit for a fresh point to start retrofitting the jsonrpc code that is incomplete 2017-03-22 17:42:50 -04:00
Shane Bryldt
14a99987bb FS-9952: Preliminary session negotiations done, added a bunch of logging, fixed up cleanup code, needs more testing and more error handling 2017-03-22 17:42:50 -04:00
Shane Bryldt
3d8fd5dcaf FS-9952: Added the first half of the session negotations for the server side, untested as it requires the second half coming soon for client side 2017-03-22 17:42:50 -04:00
Shane Bryldt
cb7e95fd9a FS-9952: A bunch of cleanup and shifting connections towards ID based passing instead of pointers, will replicate and adjust for session system next 2017-03-22 17:42:50 -04:00
colm
8e417220d3 FS-9952: Add blade rpc error response creation 2017-03-22 17:42:50 -04:00
Shane Bryldt
a7add33519 FS-9952: Committing to show problem with ks_pool_resize 2017-03-22 17:42:50 -04:00
colm
d6d8ede6b9 FS-9952: Add query & tests for blade extention to rpc messages 2017-03-22 17:42:49 -04:00
colm
06e38ba1ff FS-9952: Add blade extention to rpc messages 2017-03-22 17:42:49 -04:00
Shane Bryldt
418092e1ee FS-9952: Some work towards client connectivity support, commit is to remove blade_message_t and get RPC stuff updated, code does not compile currently 2017-03-22 17:42:49 -04:00
Shane Bryldt
942ae77bde FS-9952: Added initial support for registering transports, and initial untested code for parsing identities 2017-03-22 17:42:49 -04:00
Shane Bryldt
2b3e2646e3 FS-9952: Updated bladec test, it successfully listens for connections, further testing required 2017-03-22 17:42:49 -04:00
colm
5eb61cf535 FS-9952: Update for compile issues 2017-03-22 17:42:49 -04:00
Shane Bryldt
de1ddf187b FS-9952: More work on the connection and transport code, couple things left to do but nearly ready for testing upto starting session negotiations 2017-03-22 17:42:49 -04:00
colm
eb4ece83b9 FS-9952: Add testrpcproto, Update api 2017-03-22 17:42:49 -04:00
Shane Bryldt
c3b7bb583f FS-9952: Rewrote core code to utilize state machine driven system based on discussions, code compiles but completely untested currently 2017-03-22 17:42:49 -04:00
colm
b24eb4d707 FS-9952: Initial rpc application implementation 2017-03-22 17:42:49 -04:00
colm
a9945a682b FS-9952: Initial rpc application implementation 2017-03-22 17:42:49 -04:00
colm
1761e35bf1 FS-9952: Initial rpc application implementation 2017-03-22 17:42:49 -04:00
Shane Bryldt
4ec0fbc581 FS-9952: A few changes and implemented the initial service peer state callbacks 2017-03-22 17:42:49 -04:00
Shane Bryldt
80179e7bd0 FS-9952: More work on the blade service transport layer, now compiles but is untested, and still missing a few pieces to be functional 2017-03-22 17:42:49 -04:00
Shane Bryldt
eb57b7910e FS-9952: Temporary commit for some peer review 2017-03-22 17:42:49 -04:00
Shane Bryldt
2c6f954461 FS-9775: Committing start of very basic datastore concept, will start tieing in the physical transport layer for replication under new ticket/branch 2017-01-25 14:59:39 -06:00
Shane Bryldt
25549254a9 FS-9775: Committing to get assistance with building unqlite 2017-01-25 14:59:39 -06:00
Shane Bryldt
743a768a3f FS-9775: First round of integration of DHT into libblade, requires ongoing changes to DHT for proper exposure to blade level 2017-01-25 14:59:38 -06:00
Mike Jerris
dfff24d8fa libblade initial checkin 2016-11-28 16:35:09 -05:00