[asterisk-bugs] [JIRA] (ASTERISK-25342) res_pjsip: Repeated usage of pj_gethostip may block
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Aug 25 11:55:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-25342:
-----------------------------------
Reviewboard Link: https://gerrit.asterisk.org/1137 https://gerrit.asterisk.org/1138 https://gerrit.asterisk.org/1139
> 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
>
> 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