]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-10167: Switched connection lifecycle to an isolated pool similar to sessions,...
authorShane Bryldt <astaelan@gmail.com>
Tue, 18 Apr 2017 19:41:00 +0000 (13:41 -0600)
committerShane Bryldt <astaelan@gmail.com>
Tue, 18 Apr 2017 19:41:00 +0000 (13:41 -0600)
commit2c996b592f05ee8b1981c91bc939d433e7b83190
treeb22e4d1e30f3e07cc5ce89a751c9036b864dde32
parentb84662ae6b12ac519abb1749202ed41acf81369d
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.
libs/libblade/src/blade_connection.c
libs/libblade/src/blade_module_chat.c
libs/libblade/src/blade_module_wss.c
libs/libblade/src/blade_protocol.c
libs/libblade/src/blade_session.c
libs/libblade/src/blade_stack.c
libs/libblade/src/include/blade_connection.h
libs/libblade/src/include/blade_protocol.h
libs/libks/src/ks_time.c