[asterisk-bugs] [JIRA] (ASTERISK-25342) res_pjsip: Repeated usage of pj_gethostip may block
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Tue Sep 29 16:42:38 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Harwell updated ASTERISK-25342:
-------------------------------------
Target Release Version/s: 13.6.0
> res_pjsip: Repeated usage of pj_gethostip may block
> ---------------------------------------------------
>
> Key: ASTERISK-25342
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25342
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.5.0
> Reporter: Joshua Colp
> Assignee: Joshua Colp
> Severity: Minor
> Target Release: 13.6.0
>
>
> A few modules in the PJSIP support currently call pj_gethostip a lot. Depending on the environment this can cause a DNS query to occur as it looks up the local hostname. If the DNS server is having issues or the network is having issues then the pj_gethostip function can block for a short period of time.
> This issue is for doing the lookup only once at startup/load and using a cached value instead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list