Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1686 closed defect (fixed)

Deadlock on DNS when cached query is available

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

Description

This is similar to #1108 and #1565.

Change History (2)

comment:1 Changed 11 years ago by nanang

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

In 4552:

Fix #1686: release mutex when invoking callback to avoid deadlock. Also a bit memory usage optimization, i.e: avoid bloated pool by unfreed old/expired packet in cache entry.

comment:2 Changed 11 years ago by nanang

In 4553:

Re #1686: avoid cache entry destroy in update_res_cache() when it is being used by callback.

Note: See TracTickets for help on using tickets.