20f672539e
The transport management code that checks for idle connections keeps a reference to PJSIP's transport for IDLE_TIMEOUT milliseconds (32000 by default). Because of this, if the transport is closed before this timeout, the idle checking code will keep the transport from actually being shutdown until the timeout expires. Rather than passing the AO2 object to the scheduler task, we just pass its key and look it up when it is time to potentially close the idle connection. The other transport management code handles cleaning up everything else for us. Additionally, because we use the address of the transport when generating its name, we concatenate an incrementing ID to the end of the name to guarantee uniqueness. Related to ASTERISK~28231 Change-Id: I02ee9f4073b6abca9169d30c47aa69b5e8ae9afb |
||
---|---|---|
.. | ||
include | ||
config_auth.c | ||
config_domain_aliases.c | ||
config_global.c | ||
config_system.c | ||
config_transport.c | ||
location.c | ||
pjsip_cli.c | ||
pjsip_configuration.c | ||
pjsip_distributor.c | ||
pjsip_global_headers.c | ||
pjsip_message_filter.c | ||
pjsip_options.c | ||
pjsip_resolver.c | ||
pjsip_scheduler.c | ||
pjsip_session.c | ||
pjsip_transport_events.c | ||
pjsip_transport_management.c | ||
presence_xml.c | ||
security_events.c |