Opened 13 years ago
Closed 13 years ago
#1246 closed defect (fixed)
Use CFHost API for pj_getaddrinfo() on iPhone OS
Reported by: | ming | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-1.10 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
On iPhone OS, getaddrinfo() is sometimes unable to resolve local hostname returned by gethostname(), causing delay around 2-5 sec during the initialization process.
Previous fix (see ticket #1104) tried to append ".local" for the value returned by gethostname(), however there are cases when the hostname has a "-2" suffix such as "hostname-2.local" which causes this fix ineffective.
Change History (1)
comment:1 Changed 13 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [3543]) Fixed #1246: Use CFHost for pj_getaddrinfo() on iOS
Re-run configure-iphone to use this fix automatically.