Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1101 closed defect (fixed)

Check and calculate IPv4/IPv6 address specified in pj_getaddrinfo()

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.7
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The getaddrinfo() API allows IPv4 or IPv6 address to be specified as the host parameter to be resolved, and it should return the same address. However it has been reported that this could in fact trigger DNS resolution for the IP address on Apple iOS4 platform, and worse blocking the execution for 5 to 20 seconds.

This ticket adds additional checking in pj_getaddrinfo() function and returns the immediate address if IPv4 or IPv6 address is detected.

Change History (2)

comment:1 Changed 14 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3234]) Fixed #1101: Check and calculate IPv4/IPv6 address specified in pj_getaddrinfo()

comment:2 Changed 14 years ago by bennylp

  • Summary changed from Check and calculate IPv4/IPv6 address is specified when calling pj_getaddrinfo() to Check and calculate IPv4/IPv6 address specified in pj_getaddrinfo()
Note: See TracTickets for help on using tickets.