Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1603 closed defect (fixed)

Dangling UDP socket of DNS resolver not replaced after going background on iOS

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.1
Component: pjlib-util Version: trunk
Keywords: Cc:
Backport to 1.x milestone: release-1.16 Backported: yes

Description

Reported that it is consistently reproducible by putting the app in background mode and wake it up at about re-registration time. The re-registration attempt will fail with PJLIB_UTIL_EDNSNOWORKINGNS. It also does not matter whether the iPad is connected via WiFi? or 3G.

Thanks Thomas Martin for the report.

Change History (4)

comment:1 Changed 11 years ago by nanang

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

In 4317:

Fix #1603: reinit UDP socket of DNS resolver when sendto() returning EPIPE.

comment:2 Changed 11 years ago by nanang

In 4333:

Re #1603: Replaced sock_sendto() with ioqueue_sendto(), as if ioqueue replaces the socket first (in read operation), sock_sendto() will raise "Bad file descriptor" error.

comment:3 Changed 11 years ago by riza

In 4397:

Re #1603: backported to 1.x

comment:4 Changed 11 years ago by riza

  • Backported set
Note: See TracTickets for help on using tickets.