64c172deba
In a realtime based system with a limited number of threadpool threads it is possible for a deadlock to occur. This happens when permanent endpoint state is updated, which will cause database queries to be done. These queries may result in URI validation being done which is done synchronously using a PJSIP thread. If all PJSIP threads are in use processing traffic they themselves may be blocked waiting to get the permanent endpoint container lock when identifying an endpoint. This change moves URI validation to occur at use time instead of configuration time. While this comes at a cost of not seeing a problem until you use it it does solve the underlying deadlock problem. ASTERISK-25486 #close Change-Id: I2d7d167af987d23b3e8199e4a68f3359eba4c76a |
||
---|---|---|
.. | ||
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_options.c | ||
pjsip_resolver.c | ||
presence_xml.c | ||
security_events.c |