[asterisk-bugs] [JIRA] (ASTERISK-25342) res_pjsip: Repeated usage of pj_gethostip may block

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:22:02 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-25342:
-------------------------------------

    Target Release Version/s: 14.0.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, 14.0.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